class spinehx.CurveTimeline implements Timeline
import spinehx.Animation;
Available on all platforms
Sub classes | ||||||||
![]() | ColorTimeline, RotateTimeline, TranslateTimeline |
|
Base class for frames that use an interpolation bezier curve.
Instance Fields
function setCurve(frameIndex:Int, cx1:Float, cy1:Float, cx2:Float, cy2:Float):Void
Sets the control handle positions for an interpolation bezier curve used to transition from this keyframe to the next. * cx1 and cx2 are from 0 to 1, representing the percent of time between the two keyframes. cy1 and cy2 are the percent of * the difference between the keyframe's values.