setMixDuration2 method

void setMixDuration2(
  1. double mixDuration,
  2. double delay
)

Sets both getMixDuration() and getDelay().

delay If > 0, sets TrackEntry::getDelay(). If < = 0, the delay set is the duration of the previous track entry minus the specified mix duration plus the specified delay (ie the mix ends at (delay = 0) or before (delay < 0) the previous track entry duration). If the previous entry is looping, its next loop completion is used instead of its duration.

Implementation

void setMixDuration2(double mixDuration, double delay) {
  SpineBindings.bindings.spine_track_entry_set_mix_duration_2(_ptr, mixDuration, delay);
}