docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ParameterOverride

    The base abstract class for all parameter override types.

    Inheritance
    object
    ParameterOverride
    ParameterOverride<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    ParameterOverride<T>

    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
    ParameterOverride<T>

    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
    ParameterOverride<T>

    OnDisable()

    This method is called right before the parent PostProcessEffectSettings gets de-initialized.

    Declaration
    protected virtual void OnDisable()
    See Also
    OnEnable()

    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()
    See Also
    OnDisable()

    See Also

    ParameterOverride<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)