getMix method

double getMix(
  1. Animation from,
  2. Animation to
)

Returns the mix duration to use when changing from the specified animation to the other, or the getDefaultMix if no mix duration has been set.

Implementation

double getMix(Animation from, Animation to) {
  return _bindings.spine_animation_state_data_get_mix(_data, from._animation, to._animation);
}