PathConstraintPositionTimeline

TimelineCurveTimelineCurveTimeline1spine.PathConstraintPositionTimeline (Class)

Changes a path constraint's {@link PathConstraint#getPosition()}.

Static Members

spine
ENTRIES: Int

spine
VALUE: Int

spine
LINEAR: Int

spine
STEPPED: Int

spine
BEZIER: Int

spine
BEZIER_SIZE: Int

Instance Members

spine
pathConstraintIndex: 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
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