Class AnimationCurveParameter
A VolumeParameter that holds an AnimationCurve
value.
Inherited Members
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 |