docs.unity3d.com
    Show / Hide Table of Contents

    Class AbstractMaterialNodePropertyDrawer

    Inheritance
    Object
    AbstractMaterialNodePropertyDrawer
    Namespace: UnityEditor.ShaderGraph.Drawing.Inspector.PropertyDrawers
    Syntax
    public class AbstractMaterialNodePropertyDrawer : object, 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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023