onAnimationFrame method
dynamic
onAnimationFrame(
- dynamic time,
- dynamic frame
Implementation
onAnimationFrame(time, frame) {
animationLoop(time, frame);
requestId = context.requestAnimationFrame(onAnimationFrame);
}