enableStats / disableStats

优质
小牛编辑
141浏览
2023-12-01

Displays/hides stats on the upper-left corner of the scene. To use this
API, stats.min.js must be
included in the <header> tag of your html page.



<header>
        <script src="stats.min.js"></script>
</header>

controller.enableStats();

controller.disableStats();