getTrackEnd method

double getTrackEnd()

The track time in seconds when this animation will be removed from the track. Defaults to the animation duration for non-looping animations and to int.MaxValue for looping animations. If the track end time is reached and no other animations are queued for playback, and mixing from any previous animations is complete, properties keyed by the animation, are set to the setup pose and the track is cleared.

It may be desired to use AnimationState.addEmptyAnimation(int, float, float) to mix the properties back to the setup pose over time, rather than have it happen instantly.

Implementation

double getTrackEnd() {
  return _bindings.spine_track_entry_get_track_end(_entry);
}