Class SerializedParameterOverride
A wrapper used for ParameterOverride<T> serialization and easy access to the underlying property and override state.
Namespace: UnityEditor.Rendering.PostProcessing
Syntax
public sealed class SerializedParameterOverride
Properties
attributes
An array of all attributes set on the original parameter.
Declaration
public Attribute[] attributes { get; }
Property Value
| Type | Description |
|---|---|
| Attribute[] |
displayName
Returns the display name of the property.
Declaration
public string displayName { get; }
Property Value
| Type | Description |
|---|---|
| String |
overrideState
The override state property of the serialized parameter.
Declaration
public SerializedProperty overrideState { get; }
Property Value
| Type | Description |
|---|---|
| SerializedProperty |
value
The value property of the serialized parameter.
Declaration
public SerializedProperty value { get; }
Property Value
| Type | Description |
|---|---|
| SerializedProperty |
Methods
GetAttribute<T>()
Gets the attribute of type T from the original parameter.
Declaration
public T GetAttribute<T>()
where T : Attribute
Returns
| Type | Description |
|---|---|
| T | And attribute or type |
Type Parameters
| Name | Description |
|---|---|
| T | The type of attribute to look for |