docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VolumeComponentEditor.OverridablePropertyScope

    Scope for property that handle:

    • Layout decorator (Space, Header)
    • Naming decorator (Tooltips, InspectorName)
    • Overridable checkbox if parameter IsAutoProperty
    • disabled GUI if Overridable checkbox (case above) is unchecked
    • additional property scope This is automatically used inside PropertyField method
    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    protected struct VolumeComponentEditor.OverridablePropertyScope : IDisposable

    Constructors

    OverridablePropertyScope(SerializedDataParameter, string, VolumeComponentEditor)

    Constructor

    Declaration
    public OverridablePropertyScope(SerializedDataParameter property, string label, VolumeComponentEditor editor)
    Parameters
    Type Name Description
    SerializedDataParameter property

    The property that will be drawn

    string label

    The label of this property

    VolumeComponentEditor editor

    The editor that will draw it

    OverridablePropertyScope(SerializedDataParameter, GUIContent, VolumeComponentEditor)

    Constructor

    Declaration
    public OverridablePropertyScope(SerializedDataParameter property, GUIContent label, VolumeComponentEditor editor)
    Parameters
    Type Name Description
    SerializedDataParameter property

    The property that will be drawn

    GUIContent label

    The label of this property

    VolumeComponentEditor editor

    The editor that will draw it

    Properties

    displayed

    Either the content property will be displayed or not (can varry with additional property settings)

    Declaration
    public readonly bool displayed { get; }
    Property Value
    Type Description
    bool

    label

    The title modified regarding attribute used on the field

    Declaration
    public readonly GUIContent label { get; }
    Property Value
    Type Description
    GUIContent

    Implements

    IDisposable

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)