spine_animation_state_set_animation method

spine_track_entry spine_animation_state_set_animation(
  1. spine_animation_state state,
  2. int trackIndex,
  3. spine_animation animation,
  4. int loop,
)

Implementation

spine_track_entry spine_animation_state_set_animation(
  spine_animation_state state,
  int trackIndex,
  spine_animation animation,
  int loop,
) {
  return _spine_animation_state_set_animation(
    state,
    trackIndex,
    animation,
    loop,
  );
}