class TransformConstraintTimeline
package spine
extends CurveTimeline › Timeline
import spine.Animation
Available with spine plugin
Changes a transform constraint's {@link TransformConstraint#getMixRotate()}, {@link TransformConstraint#getMixX()}, {@link TransformConstraint#getMixY()}, {@link TransformConstraint#getMixScaleX()}, {@link TransformConstraint#getMixScaleY()}, and {@link TransformConstraint#getMixShearY()}.
Static variables
Constructor
Variables
Methods
getTransformConstraintIndex():Int
The index of the transform constraint slot in {@link Skeleton#getTransformConstraints()} that will be changed when this timeline is applied.
setFrame(frame:Int, time:Float, mixRotate:Float, mixX:Float, mixY:Float, mixScaleX:Float, mixScaleY:Float, mixShearY:Float):Void
Sets the time, rotate mix, translate mix, scale mix, and shear mix for the specified frame.
Parameters:
frame | Between 0 and |
---|---|
time | The frame time in seconds. |