setFrame method
void
setFrame()
Implementation
void setFrame(int frameIndex, double time, double r, double g, double b,
double a, double r2, double g2, double b2) {
frameIndex *= TwoColorTimeline.entries;
frames[frameIndex] = time;
frames[frameIndex + TwoColorTimeline.r] = r;
frames[frameIndex + TwoColorTimeline.g] = g;
frames[frameIndex + TwoColorTimeline.b] = b;
frames[frameIndex + TwoColorTimeline.a] = a;
frames[frameIndex + TwoColorTimeline.r2] = r2;
frames[frameIndex + TwoColorTimeline.g2] = g2;
frames[frameIndex + TwoColorTimeline.b2] = b2;
}