restPose()
A pose with every bone at rest (identity rotations, no root offset).
function restPose(boneCount: number): Pose;Defined in: engine/src/animation/pose.ts:20
Parameters
| Parameter | Type |
|---|---|
boneCount | number |
Returns
quatToMat()
Rotation matrix of a unit quaternion into a 3x4 (translation 0).
sampleClip()
Sample a clip at time t seconds (wrapped for looping clips, clamped otherwise), slerping between keys. Bones without a track stay at rest. Clips are authored at 12 fps; sampling at whole frames (frame / 12) is what lets baked poses be cached.