Starts the requestAnimationFrame or setTimeout process running.
name | type | description |
---|---|---|
callback | FrameRequestCallback |
The callback to invoke each step. |
forceSetTimeOut | boolean |
Should it use SetTimeout, even if RAF is available? |
targetFPS | number |
The target fps rate (in ms). Only used when setTimeout is used. |