TransformConstraintData
Stores the setup pose for a {@link TransformConstraint}.
See Transform constraints in the Spine User Guide.
Instance Members
spine
offsetRotation: Float
The bones that will be modified by this transform constraint.
The target bone whose world transform will be copied to the constrained 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.
spine
getMixScaleX(): Float
A percentage (0-1) that controls the mix between the constrained and unconstrained scale X.
Name |
Type |
mixScaleX |
Float |
spine
getMixScaleY(): Float
A percentage (0-1) that controls the mix between the constrained and unconstrained scale Y.
Name |
Type |
mixScaleY |
Float |
spine
getMixShearY(): Float
A percentage (0-1) that controls the mix between the constrained and unconstrained shear Y.
Name |
Type |
mixShearY |
Float |
spine
getOffsetRotation(): Float
An offset added to the constrained bone rotation.
spine
setOffsetRotation(offsetRotation: Float): Void
Name |
Type |
offsetRotation |
Float |
An offset added to the constrained bone X translation.
An offset added to the constrained bone Y translation.
spine
getOffsetScaleX(): Float
An offset added to the constrained bone scaleX.
spine
setOffsetScaleX(offsetScaleX: Float): Void
Name |
Type |
offsetScaleX |
Float |
spine
getOffsetScaleY(): Float
An offset added to the constrained bone scaleY.
spine
setOffsetScaleY(offsetScaleY: Float): Void
Name |
Type |
offsetScaleY |
Float |
spine
getOffsetShearY(): Float
An offset added to the constrained bone shearY.
spine
setOffsetShearY(offsetShearY: Float): Void
Name |
Type |
offsetShearY |
Float |