setMix method

Future<void> setMix(
  1. Animation from,
  2. Animation to,
  3. double duration
)

Sets the mix duration when changing from the specified animation to the other.

See TrackEntry.mixDuration.

Implementation

Future<void> setMix(Animation from, Animation to, double duration) async {
  _bindings.spine_animation_state_data_set_mix(_data, from._animation, to._animation, duration);
}