AnimationState class

Constructors

AnimationState(AnimationStateData data)

Properties

animationsChanged ↔ bool
read / write
data AnimationStateData
read / write
events → List<Event>
final
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
timeScale ↔ double
read / write
trackEntryPool Pool<TrackEntry>
final
tracks → List<TrackEntry>
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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
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
trackEntry(int trackIndex, Animation animation, bool loop, TrackEntry last) TrackEntry
update(double delta) → void
updateMixingFrom(TrackEntry to, double delta) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic 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