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 AnimationState::setEmptyAnimation(int, float) to mix the skeletons back to the setup pose, rather than leaving them in their current pose.

Implementation

void clearTrack(int trackIndex) {
  SpineBindings.bindings.spine_animation_state_clear_track(_ptr, trackIndex);
}