Home »
MCQs »
Babylon.js MCQs
Which of the following initiates the render loop, which refreshes and renders the scene continually?
7. Which of the following initiates the render loop, which refreshes and renders the scene continually?
- engine.runRenderLoop(function () { scene.render(); });
- engine.Render(function () { scene.render(); });
- run.LoopRender(function () { scene.render(); });
Answer: A) engine.runRenderLoop(function () { scene.render(); });
Explanation:
engine.runRenderLoop(function () { scene.render(); }); initiates the render loop, which refreshes and renders the scene continually.