Pose

new Pose()

Pose represents a snapshot of limb transforms at a single moment. Used for keyframe animation of character rigs.

Classes

Pose

Methods

(static) Lerp(poseA, poseB, t) → {Pose}

Interpolate between two poses.

Parameters:
NameTypeDescription
poseAPose

Start pose.

poseBPose

End pose.

tnumber

Interpolation factor (0 to 1).

Returns:

Interpolated pose.

Type: 
Pose

getLimb(limbName) → {Object|null}

Get the transform data for a specific limb.

Parameters:
NameTypeDescription
limbNamestring

Name of the limb.

Returns:

Limb transform data or null if not found.

Type: 
Object | null

getLimbNames() → {Array.<string>}

Get all limb names in this pose.

Returns:
Type: 
Array.<string>

hasLimb(limbName) → {boolean}

Check if this pose has data for a specific limb.

Parameters:
NameTypeDescription
limbNamestring

Name of the limb.

Returns:
Type: 
boolean