setFrame method
Sets the time and draw order for the specified frame.
frame Between 0 and frameCount, inclusive.
time The frame time in seconds.
drawOrder For each slot in Skeleton::slots, the index of the slot in the new draw order. May be null to use setup pose draw order.
Implementation
void setFrame(int frame, double time, ArrayInt? drawOrder) {
SpineBindings.bindings
.spine_draw_order_timeline_set_frame(_ptr, frame, time, drawOrder?.nativePtr.cast() ?? Pointer.fromAddress(0));
}