TransformConstraintTimeline
Timeline → CurveTimeline → spine.TransformConstraintTimeline (Class)
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 Members
Instance Members
Returns |
---|
Int |
The index of the transform constraint slot in {@link Skeleton#getTransformConstraints()} that will be changed when this timeline is applied.
Returns |
---|
Int |
spine
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.
Name | Type | Description |
---|---|---|
frame |
Int | Between 0 and frameCount , inclusive. |
time |
Float | The frame time in seconds. |
mixRotate |
Float | |
mixX |
Float | |
mixY |
Float | |
mixScaleX |
Float | |
mixScaleY |
Float | |
mixShearY |
Float |
spine
apply(skeleton: Skeleton, lastTime: Float, time: Float, events: spine.support.utils.Array<Event>, alpha: Float, blend: MixBlend, direction: MixDirection): Void
Name | Type |
---|---|
skeleton |
Skeleton |
lastTime |
Float |
time |
Float |
events |
spine.support.utils.Array<Event> |
alpha |
Float |
blend |
MixBlend |
direction |
MixDirection |
Name | Type |
---|---|
frameCount |
Int |
bezierCount |
Int |
transformConstraintIndex |
Int |