docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AnimationCurveParameter

    A VolumeParameter that holds an AnimationCurve value.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<AnimationCurve>
    AnimationCurveParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<AnimationCurve>>
    Inherited Members
    VolumeParameter<AnimationCurve>.m_Value
    VolumeParameter<AnimationCurve>.value
    VolumeParameter<AnimationCurve>.Override(AnimationCurve)
    VolumeParameter<AnimationCurve>.ToString()
    VolumeParameter<AnimationCurve>.Equals(VolumeParameter<AnimationCurve>)
    VolumeParameter<AnimationCurve>.Equals(object)
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    public class AnimationCurveParameter : VolumeParameter<AnimationCurve>, ICloneable, IEquatable<VolumeParameter<AnimationCurve>>

    Constructors

    Name Description
    AnimationCurveParameter(AnimationCurve, bool)

    Creates a new AnimationCurveParameter instance.

    Methods

    Name Description
    Clone()

    Clones the current instance of the VolumeParameter

    GetHashCode()

    Returns a hash code for the animationCurve.

    Interp(AnimationCurve, AnimationCurve, float)

    Interpolates between two AnimationCurve values. Note that it will overwrite the values in lhsCurve, whereas rhsCurve data will be unchanged. Thus, it is legal to call it as: stateParam.Interp(stateParam, toParam, interpFactor); However, It should NOT be called when the lhsCurve parameter needs to be preserved. But the current framework modifies it anyway in VolumeComponent.Override for all types of VolumeParameters

    SetValue(VolumeParameter)

    Sets the value of this parameter to the value in parameter.

    Extension Methods

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