setFrame method

void setFrame(
  1. int frame,
  2. Event event
)

Sets the time and event for the specified frame.

frame Between 0 and frameCount, inclusive.

Implementation

void setFrame(int frame, Event event) {
  SpineBindings.bindings.spine_event_timeline_set_frame(_ptr, frame, event.nativePtr.cast());
}