Stores the setup pose for a {@link PathConstraint}.

See Path constraints in the Spine User Guide.

Constructor

new(name:String)

Variables

@:value(new Array<BoneData>())bones:Array<BoneData> = new Array<BoneData>()

The bones that will be modified by this path constraint.

offsetRotation:Float

An offset added to the constrained bone rotation.

position:Float

The position along the path.

positionMode:PositionMode

The mode for positioning the first bone on the path.

rotateMix:Float

A percentage (0-1) that controls the mix between the constrained and unconstrained rotations.

rotateMode:RotateMode

The mode for adjusting the rotation of the bones.

spacing:Float

The spacing between bones.

spacingMode:SpacingMode

The mode for positioning the bones after the first bone on the path.

target:SlotData

The slot whose path attachment will be used to constrained the bones.

translateMix:Float

A percentage (0-1) that controls the mix between the constrained and unconstrained translations.

Inherited Variables

Defined by ConstraintData

name:String

order:Int

Inherited Methods