Class: SkeletonAnimation

SkeletonAnimation

SkeletonAnimation is a Component that allows skinned animations on a Model. Internally, it uses a SkeletonBlendTree for blending.


new SkeletonAnimation(rootNode)

Parameters:
Name Type Description
rootNode *

Either a SkeletonBlendNode for more complex animations, or an AnimationClip for single-clip start/stop animations.

Properties:
Name Type Description
transferRootJoint Boolean

Defines whether the root joint's movement will be applied to the target Model's scene position. This way, scene movement can be synchronized to the animation.

applyInverseBindPose Boolean

Defines whether or not the inverse bind pose should be applied to the skeleton's pose.

animationNode SkeletonBlendNode

The root animation node of the blend tree.

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

Extends

Members


entity

The target entity.

Inherited From:

Methods


getNode()

Gets a node in the tree with the given name.


onRemoved()

Called when this component is removed from an Entity.

Inherited From: