Class ParameterOverride | Post Processing | 2.3.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class ParameterOverride

    The base abstract class for all parameter override types.

    Inheritance
    Object
    ParameterOverride
    ParameterOverride<T>
    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()

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

    See Also

    ParameterOverride<T>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023