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


acceptVisitor

If provided, this method will be called by the scene partition traverser, allowing collection by the renderer.

Inherited From:

bounds

If a Component has a scene presence, it can have bounds

Inherited From:

enabled

Defines whether or not this component should be enabled.

Inherited From:

Methods


bindListener()

Listens to the entity's messenger for a given message type.

Inherited From:

broadcast()

Broadcasts a message dispatched by the owning Entity's onMessage Signal.

Inherited From:

clone()

Creates a duplicate of this Component.

Inherited From:
Overrides:

getNode()

Gets a node in the tree with the given name.


hasListeners()

Tests whether the given signal is being listened to.

Inherited From:

invalidateBounds()

Marks the bounds as invalid, causing them to be recalculated when next queried.

Inherited From:

onRemoved()

Called when this component is removed from an Entity.

Inherited From:

unbindListener()

Listens to the entity's messenger for a given message type.

Inherited From: