DrawOrderFolderTimeline constructor

DrawOrderFolderTimeline(
  1. int frameCount,
  2. ArrayInt slots,
  3. int slotCount
)

Implementation

factory DrawOrderFolderTimeline(int frameCount, ArrayInt slots, int slotCount) {
  final ptr =
      SpineBindings.bindings.spine_draw_order_folder_timeline_create(frameCount, slots.nativePtr.cast(), slotCount);
  return DrawOrderFolderTimeline.fromPointer(ptr);
}