new SkeletonFreePoseNode(skeleton)
Parameters:
| Name | Type | Description |
|---|---|---|
skeleton |
The original skeleton, needed to copy the bind pose. |
Extends
Methods
-
setJointRotation(indexOrName, quaternion)
-
Sets a joint's rotation.
Parameters:
Name Type Description indexOrName* If a Number, the index of the joint in the skeleton, if a String, its name.
quaternionQuaternion The new rotation.
-
setJointScale(indexOrName, value)
-
Sets a joint's scale.
Parameters:
Name Type Description indexOrName* If a Number, the index of the joint in the skeleton, if a String, its name.
valueFloat4 The new scale.
-
setJointTranslation(indexOrName, value)
-
Sets a joint's translation.
Parameters:
Name Type Description indexOrName* If a Number, the index of the joint in the skeleton, if a String, its name.
valueFloat4 The new translation.