getMixDuration method

double getMixDuration()

Seconds for mixing from the previous animation to this animation. Defaults to the value provided by AnimationStateData based on the animation before this animation (if any).

The mix duration can be set manually rather than use the value from AnimationStateData.GetMix. In that case, the mixDuration must be set before AnimationState.update(float) is next called.

When using AnimationState::addAnimation(int, Animation, bool, float) with a delay less than or equal to 0, note the Delay is set using the mix duration from the AnimationStateData

Implementation

double getMixDuration() {
  return _bindings.spine_track_entry_get_mix_duration(_entry);
}