clearTrack method

void clearTrack(
  1. int trackIndex
)

Removes all animations from the tracks, leaving skeletons in their previous pose. It may be desired to use AnimationState.setEmptyAnimations(float) to mix the skeletons back to the setup pose, rather than leaving them in their previous pose.

Implementation

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