Class InspectableAttribute | Shader Graph | 9.0.0-preview.72
docs.unity.cn
    Show / Hide Table of Contents

    Class InspectableAttribute

    Inheritance
    Object
    Attribute
    InspectableAttribute
    Namespace: UnityEditor.ShaderGraph.Drawing
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public class InspectableAttribute : Attribute, _Attribute

    Constructors

    InspectableAttribute(String, Object, String)

    Declaration
    public InspectableAttribute(string labelName, object defaultValue, string customStyleName = "")
    Parameters
    Type Name Description
    String labelName
    Object defaultValue
    String customStyleName

    Properties

    customStyleName

    Declaration
    public string customStyleName { get; }
    Property Value
    Type Description
    String

    defaultValue

    Declaration
    public object defaultValue { get; }
    Property Value
    Type Description
    Object

    labelName

    Declaration
    public string labelName { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 29, 2020