View source
class TransformConstraintTimeline
package spine
extends CurveTimeline
import spine.Animation
Changes a transform constraint's TransformConstraint.rotateMix
, TransformConstraint.translateMix
,
TransformConstraint.scaleMix
, and TransformConstraint.shearMix
.
Static variables
Constructor
Variables
finalframes:Array<Float>
The time in seconds, rotate mix, translate mix, scale mix, and shear mix for each key frame.
transformConstraintIndex:Int
The index of the transform constraint slot in Skeleton.transformConstraints
that will be changed.
Methods
setFrame(frameIndex:Int, time:Float, rotateMix:Float, translateMix:Float, scaleMix:Float, shearMix:Float):Void
The time in seconds, rotate mix, translate mix, scale mix, and shear mix for the specified key frame.