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
Inherited Members
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 |