Class: SkeletonFreePoseNode

SkeletonFreePoseNode

SkeletonFreePoseNode is a SkeletonBlendNode that allows freely setting any Skeleton joint's pose directly.


new SkeletonFreePoseNode(skeleton)

Parameters:
Name Type Description
skeleton

The original skeleton, needed to copy the bind pose.

Author:
  • derschmale <http://www.derschmale.com>

Extends

Members


name

The name of the node, by which it can be retrieved from SkeletonBlendTree and SkeletonAnimation

Inherited From:

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.

quaternion Quaternion

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.

value Float4

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.

value Float4

The new translation.