AnimationStateData class

Stores mix (crossfade) durations to be applied when AnimationState animations are changed.

Properties

defaultMix double
The mix duration to use when no mix duration has been specifically defined between two animations.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nativePtr → Pointer<NativeType>
Get the native pointer for FFI calls
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skeletonData SkeletonData
The SkeletonData to look up animations when they are specified by name.
no setter

Methods

clear() → void
Removes all mixes and sets the default mix to 0.
dispose() → void
getMix(Animation from, Animation to) double
The mix duration to use when changing from the specified animation to the other, or the DefaultMix if no mix duration has been set.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMix(String fromName, String toName, double duration) → void
Sets a mix duration by animation names.
setMix2(Animation from, Animation to, double duration) → void
Sets a mix duration when changing from the specified animation to the other. See TrackEntry.MixDuration.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited