Class: SkeletonPose

SkeletonPose

SkeletonPose represents an entire pose a Skeleton can have. Usually, several poses are interpolated to create animations.


new SkeletonPose()

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

Members


numJoints

The number of joint poses.

Methods


copyBindPose(skeleton)

Grabs the inverse bind pose data from a skeleton and generates a local pose from it

Parameters:
Name Type Description
skeleton

copyFrom()

Copies another pose.


getJointPose()

Returns the joint pose at a given position


interpolate(a, b, factor)

Interpolates between two poses and stores it in the current

Parameters:
Name Type Description
a
b
factor

invalidateGlobalPose()

Lets the engine know the pose has been updated


setJointPose()

Assigns a joint pose.