viz.core.createAnimationLoop
function createAnimationLoop(callback: (deltaTime: number) => boolean | void): () => voidCreate an animation loop that runs continuously.
Parameters
callback(deltaTime: number) => boolean | void
Returns
() => voidfunction createAnimationLoop(callback: (deltaTime: number) => boolean | void): () => voidCreate an animation loop that runs continuously.
callback(deltaTime: number) => boolean | void() => void