跳转到内容

AnimatorAvatar

此内容尚不支持你的语言。

Defined in: animation/animatorAvatar.ts:31

A rig’s own spelling for each joint a clip may name, and how it stands at rest.

joints: Record<string, string>

Defined in: animation/animatorAvatar.ts:37

The name a clip uses → the childPath this rig reaches that joint by. A name with no entry resolves as itself, so a clip authored against this rig keeps working and an avatar can translate only what differs.


optional rest?: Record<string, Quat>

Defined in: animation/animatorAvatar.ts:44

Each joint’s rotation in the BIND pose, by the name joints uses. What a clip states is where a joint is, and what it MEANS is the offset from where that joint rests — two rigs bound differently need this to read one clip the same way. Absent for a rig nothing is retargeted onto.


optional scale?: number

Defined in: animation/animatorAvatar.ts:51

Root to the joint furthest from it, at rest — the ONE measure every avatar uses, since two measured differently give a ratio that means nothing. What it buys is displacement: a step authored on a smaller rig slides on a taller one unless it travels further.