addAnimation method
Queues an animation by name.
See addAnimation(int, Animation, bool, float).
Implementation
TrackEntry addAnimation(int trackIndex, String animationName, bool loop, double delay) {
final result = SpineBindings.bindings.spine_animation_state_add_animation_1(
_ptr, trackIndex, animationName.toNativeUtf8().cast<Char>(), loop, delay);
return TrackEntry.fromPointer(result);
}