@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
9 lines • 367 B
JavaScript
import { Scene } from "../../scene.js";
import { PerformanceViewerCollector } from "./performanceViewerCollector.js";
Scene.prototype.getPerfCollector = function () {
if (!this._perfCollector) {
this._perfCollector = new PerformanceViewerCollector(this);
}
return this._perfCollector;
};
//# sourceMappingURL=performanceViewerSceneExtension.js.map