MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / logFpsLoop

Function logFpsLoop

Apps/Playground/Scripts/experience.js:123–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122 if (logfps) {
123 var logFpsLoop = function () {
124 BABYLON.Tools.Log("FPS: " + Math.round(engine.getFps()));
125 window.setTimeout(logFpsLoop, 1000);
126 };
127
128 window.setTimeout(logFpsLoop, 3000);
129 }

Callers

nothing calls this directly

Calls 1

LogMethod · 0.80

Tested by

no test coverage detected