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?

  1. engine.runRenderLoop(function () { scene.render(); });
  2. engine.Render(function () { scene.render(); });
  3. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.