getHoldPrevious method
Seconds to postpone playing the animation. 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 using AnimationState.addAnimation with a delay
<= 0, the delay
is set using the mix duration from the AnimationStateData. If getMixDuration is set afterward, the delay
may need to be adjusted.
Implementation
bool getHoldPrevious() {
return _bindings.spine_track_entry_get_hold_previous(_entry) == -1;
}