setMix method

void setMix(
  1. String fromName,
  2. String toName,
  3. double duration
)

Sets a mix duration by animation names.

Implementation

void setMix(String fromName, String toName, double duration) {
  SpineBindings.bindings.spine_animation_state_data_set_mix_1(
      _ptr, fromName.toNativeUtf8().cast<Char>(), toName.toNativeUtf8().cast<Char>(), duration);
}