TransformConstraint Type
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.
Constructors
Constructor | Description |
Full Usage:
TransformConstraint(data, skeleton)
Parameters:
TransformConstraintData
skeleton : Skeleton
|
|
Full Usage:
TransformConstraint(constraint, skeleton)
Parameters:
TransformConstraint
skeleton : Skeleton
|
Copy constructor.
|
Instance members
Instance member | Description |
Full Usage:
this.Active
Returns: bool
Modifiers: abstract |
|
|
The bones that will be modified by this transform constraint.
|
|
The transform constraint's setup pose data.
|
Full Usage:
this.MixRotate
|
A percentage (0-1) that controls the mix between the constrained and unconstrained rotation. |
Full Usage:
this.MixScaleX
|
A percentage (0-1) that controls the mix between the constrained and unconstrained scale X. |
Full Usage:
this.MixScaleY
|
A percentage (0-1) that controls the mix between the constrained and unconstrained scale Y. |
Full Usage:
this.MixShearY
|
A percentage (0-1) that controls the mix between the constrained and unconstrained shear Y. |
Full Usage:
this.MixX
|
A percentage (0-1) that controls the mix between the constrained and unconstrained translation X. |
Full Usage:
this.MixY
|
A percentage (0-1) that controls the mix between the constrained and unconstrained translation Y. |
Full Usage:
this.SetToSetupPose
|
|
Full Usage:
this.Target
|
The target bone whose world transform will be copied to the constrained bones. |
Full Usage:
this.ToString
Returns: string
Modifiers: abstract |
|
|
|