Stats
Lightweight performance panel displaying FPS and frame time (ms).
Usage
ts
import { create3dApp } from '@threeuse/core'
import { Stats } from '@threeuse/core/plugins'
const app = create3dApp()
app.use(Stats, { position: 'top-left' })
app.$stats // panel instanceOptions
| Option | Type | Default | Description |
|---|---|---|---|
position | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-left' | Panel position |