animation.createSkin#joints¶
Summary¶
animation.createSkin#joints exposes the ordered joint transforms used by a skin. Pose the existing transforms to animate the skeleton. The array order defines which transform each joint index in the mesh refers to.
Syntax¶
readonly Skin.joints: Transform[]
readonly Skin.jointCount: number
readonly Skin.name: string
const rootJoint = skin.joints[0];
Returns¶
Transform[] - The skin's joint transform array in creation order. Treat its membership and ordering as fixed because the skin records transform indices and inverse-bind matrices in that order. jointCount is the fixed number of entries.