AnimationState class

Constructors

AnimationState(AnimationStateData data)

Properties

animationsChanged bool
read / write
data AnimationStateData
read / write
events List<Event>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
mixingTo List<TrackEntry>
final
onCompleteCallbacks List<TrackEntryCallback>
final
onDisposeCallbacks List<TrackEntryCallback>
final
onEndCallbacks List<TrackEntryCallback>
final
onEventCallbacks List<TrackEntryEventCallback>
final
onInterruptCallbacks List<TrackEntryCallback>
final
onStartCallbacks List<TrackEntryCallback>
final
propertyIDs Set<int>
final
queue EventQueue
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeScale double
read / write
trackEntryPool Pool<TrackEntry>
final
tracks List<TrackEntry>
final

Methods

addAnimation(int trackIndex, String animationName, bool loop, double delay) TrackEntry
addAnimationWith(int trackIndex, Animation animation, bool loop, double delay) TrackEntry
addEmptyAnimation(int trackIndex, double mixDuration, double delay) TrackEntry
addOnCompleteCallback(TrackEntryCallback callback) → void
addOnDisposeCallback(TrackEntryCallback callback) → void
addOnEndCallback(TrackEntryCallback callback) → void
addOnEventCallback(TrackEntryEventCallback callback) → void
addOnInterruptCallback(TrackEntryCallback callback) → void
addOnStartCallback(TrackEntryCallback callback) → void
apply(Skeleton skeleton) bool
applyMixingFrom(TrackEntry to, Skeleton skeleton, MixPose currentPose) double
applyRotateTimeline(Timeline timeline, Skeleton skeleton, double time, double alpha, MixPose pose, List<double> timelinesRotation, int i, bool firstFrame) → void
clearListenerNotifications() → void
clearOnCompleteCallbacks(TrackEntryCallback callback) → void
clearOnDisposeCallbacks(TrackEntryCallback callback) → void
clearonEndCallbacks(TrackEntryCallback callback) → void
clearOnEventCallbacks(TrackEntryEventCallback callback) → void
clearOnInterruptCallbacks(TrackEntryCallback callback) → void
clearOnStartCallbacks(TrackEntryCallback callback) → void
clearTrack(int trackIndex) → void
clearTracks() → void
disposeNext(TrackEntry entry) → void
expandToIndex(int index) TrackEntry
getCurrent(int trackIndex) TrackEntry
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
queueEvents(TrackEntry entry, double animationTime) → void
removeOnCompleteCallback(TrackEntryCallback callback) → void
removeOnDisposeCallback(TrackEntryCallback callback) → void
removeOnEndCallback(TrackEntryCallback callback) → void
removeOnEventCallback(TrackEntryEventCallback callback) → void
removeOnInterruptCallback(TrackEntryCallback callback) → void
removeOnStartCallback(TrackEntryCallback callback) → void
setAnimation(int trackIndex, String animationName, bool loop) TrackEntry
setAnimationWith(int trackIndex, Animation animation, bool loop) TrackEntry
setCurrent(int index, TrackEntry current, bool interrupt) → void
setEmptyAnimation(int trackIndex, double mixDuration) TrackEntry
setEmptyAnimations(double mixDuration) → void
toString() String
Returns a string representation of this object.
inherited
trackEntry(int trackIndex, Animation animation, bool loop, TrackEntry last) TrackEntry
update(double delta) → void
updateMixingFrom(TrackEntry to, double delta) bool

Operators

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

Static Properties

emptyAnimation Animation
final

Constants

dip → const int
2
dipMix → const int
3
first → const int
1
subsequent → const int
0