Class ParameterOverride
The base abstract class for all parameter override types.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
public abstract class ParameterOverride
Fields
overrideState
The override state of this parameter.
Declaration
public bool overrideState
Field Value
| Type | Description |
|---|---|
| bool |
See Also
Methods
GetHash()
Returns the computed hash code for this parameter.
Declaration
public abstract int GetHash()
Returns
| Type | Description |
|---|---|
| int | A computed hash code |
See Also
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 |
See Also
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 ScriptableObject
(ParameterOverride objects are generally declared and initialized in a
PostProcessEffectSettings).
Declaration
protected virtual void OnEnable()