docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphDataPropertyDrawer

    Inheritance
    object
    GraphDataPropertyDrawer
    Implements
    IPropertyDrawer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.ShaderGraph.Drawing.Inspector.PropertyDrawers
    Assembly: Unity.ShaderGraph.Editor.dll
    Syntax
    [SGPropertyDrawer(typeof(GraphData))]
    public class GraphDataPropertyDrawer : IPropertyDrawer

    Properties

    inspectorUpdateDelegate

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

    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

    GetPropertyData(PostTargetSettingsChangedCallback, ChangeGraphDefaultPrecisionCallback)

    Declaration
    public void GetPropertyData(GraphDataPropertyDrawer.PostTargetSettingsChangedCallback postChangeValueCallback, GraphDataPropertyDrawer.ChangeGraphDefaultPrecisionCallback changeGraphDefaultPrecisionCallback)
    Parameters
    Type Name Description
    GraphDataPropertyDrawer.PostTargetSettingsChangedCallback postChangeValueCallback
    GraphDataPropertyDrawer.ChangeGraphDefaultPrecisionCallback changeGraphDefaultPrecisionCallback

    Implements

    IPropertyDrawer
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)