new Pose()
Pose represents a snapshot of limb transforms at a single moment. Used for keyframe animation of character rigs.
- Source
Classes
Methods
(static) Lerp(poseA, poseB, t) → {Pose}
Interpolate between two poses.
Parameters:
| Name | Type | Description |
|---|---|---|
poseA | Pose | Start pose. |
poseB | Pose | End pose. |
t | number | Interpolation factor (0 to 1). |
- Source
Returns:
Interpolated pose.
- Type:
- Pose
getLimb(limbName) → {Object|null}
Get the transform data for a specific limb.
Parameters:
| Name | Type | Description |
|---|---|---|
limbName | string | Name of the limb. |
- Source
Returns:
Limb transform data or null if not found.
- Type:
- Object |
null
getLimbNames() → {Array.<string>}
Get all limb names in this pose.
- Source
Returns:
- Type:
- Array.<string>
hasLimb(limbName) → {boolean}
Check if this pose has data for a specific limb.
Parameters:
| Name | Type | Description |
|---|---|---|
limbName | string | Name of the limb. |
- Source
Returns:
- Type:
- boolean