Store a collection of Keyframes that can be evaluated over time.
Name | Description |
---|
AnimationCurve .keys | All keys defined in the animation curve. |
AnimationCurve .length | The number of keys in the curve. (Read Only) |
AnimationCurve .postWrapMode | The behaviour of the animation after the last keyframe. |
AnimationCurve .preWrapMode | The behaviour of the animation before the first keyframe. |
Name | Description |
---|
[AnimationCurve(keys[]) ](./AnimationCurve Constructor.md) | Creates an animation curve from an arbitrary number of keyframes. |
[AnimationCurve() ](./AnimationCurve Constructor.md) | Creates an empty animation curve. |
Name | Description |
---|
AnimationCurve .Constant(timeStart, timeEnd, value) | Creates a constant "curve" starting at timeStart, ending at timeEnd and with the value value. |
AnimationCurve .EaseInOut(timeStart, valueStart, timeEnd, valueEnd) | Creates an ease-in and out curve starting at timeStart, valueStart and ending at timeEnd, valueEnd. |
AnimationCurve .Linear(timeStart, valueStart, timeEnd, valueEnd) | A straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd. |