Method ResetAnimationCurve
ResetAnimationCurve(AnimationCurve)
Helper function to remove all control points for an animation curve. Since animation curves are reused in a pool, this function clears existing keys so the curve is ready for reuse.
Declaration
public static void ResetAnimationCurve(AnimationCurve curve)
Parameters
Type | Name | Description |
---|---|---|
AnimationCurve | curve | The curve to reset. |