Rendering

The engine will only re-render the scene when needed, and automatically pause rendering when appropriate, e.g. when the containing browser tab is in the background. Using the play and pause methods the engine can also be paused manually. This can be used to pause the engine when the containing element scrolls off the page.

Methods

(static) pause()

Pauses the engine. See also Rendering.play

(static) play()

Resumes the engine. See also Rendering.pause