TransformConstraint
spine.TransformConstraint (Class)
Stores the current pose for a transform constraint. A transform constraint adjusts the world transform of the constrained
bones to match that of the target bone.
See Transform constraints in the Spine User Guide.
Instance Members
Applies the constraint to the constrained bones.
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 X.
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 |
The transform constraint's setup pose data.
Private Members
spine
applyAbsoluteWorld(): Void
spine
applyRelativeWorld(): Void
spine
applyAbsoluteLocal(): Void
spine
applyRelativeLocal(): Void