docs.unity3d.com
    显示 / 隐藏目录

    Class CustomFunctionNodePropertyDrawer

    Inheritance
    Object
    CustomFunctionNodePropertyDrawer
    Namespace: UnityEditor.ShaderGraph.Drawing.Inspector.PropertyDrawers
    Syntax
    [SGPropertyDrawer(typeof(CustomFunctionNode))]
    public class CustomFunctionNodePropertyDrawer : IPropertyDrawer, IGetNodePropertyDrawerPropertyData

    Properties

    inspectorUpdateDelegate

    Declaration
    public Action inspectorUpdateDelegate { get; set; }
    Property Value
    Type Description
    Action
    Implements
    IPropertyDrawer.inspectorUpdateDelegate

    Methods

    DrawProperty(PropertyInfo, Object, InspectableAttribute)

    Declaration
    public VisualElement DrawProperty(PropertyInfo propertyInfo, object actualObject, InspectableAttribute attribute)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo
    Object actualObject
    InspectableAttribute attribute
    Returns
    Type Description
    VisualElement
    Implements
    IPropertyDrawer.DrawProperty(PropertyInfo, Object, InspectableAttribute)
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)