PathConstraintData
Stores the setup pose for a {@link PathConstraint}.
See Path constraints in the Spine User Guide.
Instance Members
spine
offsetRotation: Float
The bones that will be modified by this path constraint.
The slot whose path attachment will be used to constrained the bones.
The mode for positioning the first bone on the path.
The mode for positioning the bones after the first bone on the path.
The mode for adjusting the rotation of the bones.
spine
getOffsetRotation(): Float
An offset added to the constrained bone rotation.
spine
setOffsetRotation(offsetRotation: Float): Void
Name |
Type |
offsetRotation |
Float |
spine
getPosition(): Float
The position along the path.
The spacing between bones.
spine
getMixRotate(): Float
A percentage (0-1) that controls the mix between the constrained and unconstrained rotation.
Name |
Type |
mixRotate |
Float |
A percentage (0-1) that controls the mix between the constrained and unconstrained translation X.
A percentage (0-1) that controls the mix between the constrained and unconstrained translation Y.