The duration of the curve, which is the time of the last keyframe.
Clones this AnimationCurve and returns a new instance with the same keyframes (the keyframes are also cloned).
Evaluates the curve at the given time and returns the value of the curve at that time.
The time at which to evaluate the curve.
The value of the curve at the given time.
Static
constantStatic
interpolateStatic
linearCreates an animation curve that goes from the from
value to the to
value over the given duration
.
AnimationCurve is a representation of a curve that can be used to animate values over time.