PathConstraintMixTimeline

TimelineCurveTimelinespine.PathConstraintMixTimeline (Class)

Changes a transform constraint's {@link PathConstraint#getMixRotate()}, {@link PathConstraint#getMixX()}, and {@link PathConstraint#getMixY()}.

Static Members

spine
ENTRIES: Int

spine
LINEAR: Int

spine
STEPPED: Int

spine
BEZIER: Int

spine
BEZIER_SIZE: Int

Instance Members

spine
pathConstraintIndex: Int

spine
getFrameEntries(): Int
Returns
Int

spine
getPathConstraintIndex(): Int

The index of the path constraint slot in {@link Skeleton#getPathConstraints()} that will be changed when this timeline is applied.

Returns
Int

spine
setFrame(frame: Int, time: Float, mixRotate: Float, mixX: Float, mixY: Float): Void

Sets the time and color 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

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

spine
new(frameCount: Int, bezierCount: Int, pathConstraintIndex: Int): Void
Name Type
frameCount Int
bezierCount Int
pathConstraintIndex Int

Private Members

spine
ROTATE: Int

spine
X: Int

spine
Y: Int