Appearance
使用stats.js创建一个性能检测器
import { createApp } from 'threeuse' import { stats } from 'threeuse/plugin' const app = createApp() app.use(stats, show, followContainer)
通过调用 createApp 创建的实例对象上的 use 方法安装插件
createApp
use
true
false
<body>