Class SerializedParameterOverride
A wrapper used for ParameterOverride<T> serialization and easy access to the underlying property and override state.
Inheritance
System.Object
SerializedParameterOverride
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|
System.Attribute[] |
displayName
Returns the display name of the property.
Declaration
public string displayName { get; }
Property Value
Type | Description |
---|---|
System.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 |