Various metadata and status API members for AnimationTrack

AnimationTrack is missing the following API members:

  • DidLoop (event from Sound)
  • Loaded (event from Sound)
  • Played (event from Sound)
  • Stopped (event from Sound – AnimationTrack’s Stopped event is Sound’s Ended event. No event to tell when an animation is stopped with Stop)
  • Looped (property from Sound – accessible from KeyframeSequence, but an animation’s KeyframeSequence can’t be directly accessed given only the AnimationTrack)
  • Weight and Speed (currently able to be modified with mutator methods of AnimationTrack, but no way to get those values after they’ve been set)

Use cases for these members for AnimationTrack are the same as the use cases for the objects they come from.

2 Likes