setMix2 method

void setMix2(
  1. Animation from,
  2. Animation to,
  3. double duration
)

Sets a mix duration when changing from the specified animation to the other. See TrackEntry.MixDuration.

Implementation

void setMix2(Animation from, Animation to, double duration) {
  SpineBindings.bindings
      .spine_animation_state_data_set_mix_2(_ptr, from.nativePtr.cast(), to.nativePtr.cast(), duration);
}