clearTrack method

void clearTrack(
  1. int trackIndex
)

Removes all animations from the track, leaving skeletons in their current pose.

It may be desired to use setEmptyAnimations to mix the skeletons back to the setup pose, rather than leaving them in their current pose.

Implementation

void clearTrack(int trackIndex) {
  _bindings.spine_animation_state_clear_track(_state, trackIndex);
}