[][src]Function spine::ffi::spAnimationState_setAnimationByName

pub unsafe extern "C" fn spAnimationState_setAnimationByName(
    self_: *mut spAnimationState,
    trackIndex: i32,
    animationName: *const i8,
    loop_: i32
) -> *mut spTrackEntry

Set the current animation. Any queued animations are cleared.