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).
Static
constantCreates an animation curve with just one keyframe
Static
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.