delay property

double get delay

Seconds to postpone playing the animation. Must be >= 0. When this track entry is the current track entry, delay postpones incrementing the getTrackTime(). When this track entry is queued, delay is the time from the start of the previous animation to when this track entry will become the current track entry (ie when the previous track entry getTrackTime()

= this track entry's delay).

getTimeScale() affects the delay.

When passing delay < = 0 to AnimationState::addAnimation(int, Animation, bool, float) this delay is set using a mix duration from AnimationStateData. To change the getMixDuration() afterward, use setMixDuration(float, float) so this delay is adjusted.

Implementation

double get delay {
  final result = SpineBindings.bindings.spine_track_entry_get_delay(_ptr);
  return result;
}
set delay (double value)

Implementation

set delay(double value) {
  SpineBindings.bindings.spine_track_entry_set_delay(_ptr, value);
}