getTrackEnd method

double getTrackEnd()

The track time in seconds when this animation will be removed from the track. Defaults to the highest possible float value, meaning the animation will be applied until a new animation is set or the track is cleared. If the track end time is reached, no other animations are queued for playback, and mixing from any previous animations is complete, then the properties keyed by the animation are set to the setup pose and the track is cleared.

It may be desired to use AnimationState.addEmptyAnimation rather than have the animation abruptly cease being applied.

Implementation

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