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
 
Namespace: UnityEditor.Rendering
Syntax
protected struct 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 bool displayed { get; }
Property Value
| Type | Description | 
|---|---|
| Boolean | 
label
The title modified regarding attribute used on the field
Declaration
public GUIContent label { get; }
Property Value
| Type | Description | 
|---|---|
| GUIContent |