new SkeletonXFadeNode()
SkeletonXFadeNode is a SkeletonBlendNode
for simple cross-fading between child animation clips.
Extends
Members
-
name
-
The name of the node, by which it can be retrieved from
SkeletonBlendTree
andSkeletonAnimation
- Inherited From:
Methods
-
addClip()
-
This adds a clip that can be triggered by name in fadeTo.
-
fadeTo(node, time [, sync])
-
Parameters:
Name Type Argument Description node
A
SkeletonBlendTreeNode
, anAnimationClip
, or a string with the name of a clip. If using a string, the clip has to be added usingaddClip
.time
The time the fade takes in milliseconds.
sync
<optional>
An optional flag to make clips sync to eachother. All clips with sync = true will be synced, others will run independently. This only works if node is a (name of a) clip.