Class ParameterOverride
The base abstract class for all parameter override types.
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 |
---|---|
Boolean |
Methods
GetHash()
Returns the computed hash code for this parameter.
Declaration
public abstract int GetHash()
Returns
Type | Description |
---|---|
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()