- attachments
- Attachment - spine.attachments
- AttachmentLoader - spine.attachments
- BoundingBoxAttachment - spine.attachments
- ClippingAttachment - spine.attachments
- MeshAttachment - spine.attachments
- PathAttachment - spine.attachments
- PointAttachment - spine.attachments
- RegionAttachment - spine.attachments
- VertexAttachment - spine.attachments
- utils
- vertexeffects
- Animation - spine
- AnimationState - spine
- AnimationStateData - spine
- AnimationStateListener - spine
- AtlasAttachmentLoader - spine
- AttachmentTimeline - spine
- BlendMode - spine
- Bone - spine
- BoneData - spine
- ColorTimeline - spine
- ConstraintData - spine
- CurveTimeline - spine
- DeformTimeline - spine
- DrawOrderTimeline - spine
- Event - spine
- EventData - spine
- EventTimeline - spine
- FakeTexture - spine
- IkConstraint - spine
- IkConstraintData - spine
- IkConstraintTimeline - spine
- MixBlend - spine
- MixDirection - spine
- PathConstraint - spine
- PathConstraintData - spine
- PathConstraintMixTimeline - spine
- PathConstraintPositionTimeline - spine
- PathConstraintSpacingTimeline - spine
- PositionMode - spine
- RotateMode - spine
- RotateTimeline - spine
- ScaleTimeline - spine
- ShearTimeline - spine
- Skeleton - spine
- SkeletonBinary - spine
- SkeletonBounds - spine
- SkeletonClipping - spine
- SkeletonData - spine
- SkeletonJson - spine
- Skin - spine
- SkinEntry - spine
- Slot - spine
- SlotData - spine
- SpacingMode - spine
- Texture - spine
- TextureAtlas - spine
- TextureAtlasPage - spine
- TextureAtlasRegion - spine
- TextureFilter - spine
- TextureRegion - spine
- TextureWrap - spine
- Timeline - spine
- TrackEntry - spine
- TransformConstraint - spine
- TransformConstraintData - spine
- TransformConstraintTimeline - spine
- TransformMode - spine
- TranslateTimeline - spine
- Triangulator - spine
- TwoColorTimeline - spine
- Updatable - spine
- VertexEffect - spine
View source
class PathConstraintSpacingTimeline
package spine
extends PathConstraintPositionTimeline › CurveTimeline
import spine.Animation
@:directlyUsedChanges a path constraint's PathConstraint.spacing
.
Constructor
Methods
Inherited Variables
Defined by PathConstraintPositionTimeline
pathConstraintIndex:Int
The index of the path constraint slot in Skeleton.pathConstraints
that will be changed.
Inherited Methods
Defined by PathConstraintPositionTimeline
setFrame(frameIndex:Int, time:Float, value:Float):Void
Sets the time in seconds and path constraint position for the specified key frame.
Defined by CurveTimeline
getCurvePercent(frameIndex:Int, percent:Float):Float
Returns the interpolated percentage for the specified key frame and linear percentage.
getCurveType(frameIndex:Int):Int
Returns the interpolation type for the specified key frame.
Returns:
Linear is 0, stepped is 1, Bezier is 2.
setCurve(frameIndex:Int, cx1:Float, cy1:Float, cx2:Float, cy2:Float):Void
Sets the specified key frame to Bezier interpolation. cx1
and cx2
are from 0 to 1,
representing the percent of time between the two key frames. cy1
and cy2
are the percent of the
difference between the key frame's values.