setFrame method

void setFrame(
  1. int frame,
  2. double time,
  3. double r,
  4. double g,
  5. double b,
  6. double a,
)

Sets the time and color for the specified frame.

frame Between 0 and frameCount, inclusive. time The frame time in seconds.

Implementation

void setFrame(int frame, double time, double r, double g, double b, double a) {
  SpineBindings.bindings.spine_rgba_timeline_set_frame(_ptr, frame, time, r, g, b, a);
}