Class ParameterOverride
The base abstract class for all parameter override types.
Inheritance
System.Object
ParameterOverride
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: UnityEngine.Rendering.PostProcessing
Syntax
public abstract class ParameterOverride
Fields
overrideState
The override state of this parameter.
Declaration
public bool overrideState
Field Value
Type | Description |
---|---|
System.Boolean |
Methods
GetHash()
Returns the computed hash code for this parameter.
Declaration
public abstract int GetHash()
Returns
Type | Description |
---|---|
System.Int32 | A computed hash code |
GetValue<T>()
Casts and returns the value stored in this parameter.
Declaration
public T GetValue<T>()
Returns
Type | Description |
---|---|
T | The value stored in this parameter |
Type Parameters
Name | Description |
---|---|
T | The type to cast to |
OnDisable()
This method is called right before the parent PostProcessEffectSettings gets de-initialized.
Declaration
protected virtual void OnDisable()
See Also
OnEnable()
This method is called right after the parent PostProcessEffectSettings has
been initialized. This is used in case you need to access fields or properties that
can't be accessed in the constructor of a ParameterOverride
objects are generally declared and initialized in a
PostProcessEffectSettings).
Declaration
protected virtual void OnEnable()