Grids
Object responsible for animation playback functionality. Defines attributes such as number of frames, motion blur on/off, field rendering on/off, current time and so on.
To play the animation with the current settings:
R3DoA(animator, R3ARM_PLAYTOEND, NULL);
To jump to the next frame, call:
R3OBJ *animator;
R3GetAttrs(current_layer, R3LAYA_Animator, &animator, R3TAG_END);
R3DoA(animator, R3ARM_NEXTFRAME, NULL);
or, to find out the number of frames, call:
R3INT frames;
R3GetAttrs(animator,
R3T(R3ARA_Frames, &frames),
R3TAG_END);