setAnimationLoop method

dynamic setAnimationLoop(
  1. dynamic callback
)

Implementation

setAnimationLoop(callback) {
  animationLoop = callback;
}