Class SplineParameter | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SplineParameter

    A ParameterOverride<T> that holds a Spline value.

    Inheritance
    System.Object
    ParameterOverride
    ParameterOverride<Spline>
    SplineParameter
    Inherited Members
    ParameterOverride<Spline>.value
    ParameterOverride<Spline>.Override(Spline)
    ParameterOverride<Spline>.GetHash()
    ParameterOverride.overrideState
    ParameterOverride.GetValue<T>()
    ParameterOverride.OnDisable()
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    [Serializable]
    public sealed class SplineParameter : ParameterOverride<Spline>
    Remarks

    The interpolation method for this parameter is the same as for each point on the curve.

    Methods

    Interp(Spline, Spline, Single)

    Declaration
    public override void Interp(Spline from, Spline to, float t)
    Parameters
    Type Name Description
    Spline from
    Spline to
    System.Single t
    Overrides
    UnityEngine.Rendering.PostProcessing.ParameterOverride<UnityEngine.Rendering.PostProcessing.Spline>.Interp(UnityEngine.Rendering.PostProcessing.Spline, UnityEngine.Rendering.PostProcessing.Spline, System.Single)

    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 override void OnEnable()
    Overrides
    ParameterOverride.OnEnable()
    See Also
    OnDisable()
    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