Stores mix (crossfade) durations to be applied when {@link AnimationState} animations are changed.
Constructor
Variables
Methods
getSkeletonData():SkeletonData
The SkeletonData to look up animations when they are specified by name.
setMixByName(fromName:String, toName:String, duration:Float):Void
Sets a mix duration by animation name.
See {@link #setMix(Animation, Animation, float)}.
setMix(from:Animation, to:Animation, duration:Float):Void
Sets the mix duration when changing from the specified animation to the other.
See {@link TrackEntry#mixDuration}.
getMix(from:Animation, to:Animation):Float
Returns the mix duration to use when changing from the specified animation to the other, or the {@link #getDefaultMix()} if no mix duration has been set.
getDefaultMix():Float
The mix duration to use when no mix duration has been defined between two animations.