setEmptyAnimation method

TrackEntry setEmptyAnimation(
  1. int trackIndex,
  2. double mixDuration
)

Sets an empty animation for a track, discarding any queued animations, and mixes to it over the specified mix duration.

Implementation

TrackEntry setEmptyAnimation(int trackIndex, double mixDuration) {
  final entry = _bindings.spine_animation_state_set_empty_animation(_state, trackIndex, mixDuration);
  return TrackEntry._(entry, this);
}