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

    Class AbstractMaterialNodePropertyDrawer

    Inheritance
    Object
    AbstractMaterialNodePropertyDrawer
    Namespace: UnityEditor.ShaderGraph.Drawing.Inspector.PropertyDrawers
    Syntax
    [SGPropertyDrawer(typeof(AbstractMaterialNode))]
    public class AbstractMaterialNodePropertyDrawer : 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)

    GetPropertyData(Action, Action)

    Declaration
    public void GetPropertyData(Action setNodesAsDirtyCallback, Action updateNodeViewsCallback)
    Parameters
    Type Name Description
    Action setNodesAsDirtyCallback
    Action updateNodeViewsCallback
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)