is a JavaScript performance monitor, made by mrdoob. stats.js provides a simple info box that will help you monitor your code performance.
Cientos provides a component called Stats that creates a panel without effort or configuration in the top left corner where you'll be able to monitor your app.
<script setup lang="ts">
import { TresCanvas } from '@tresjs/core'
import { Stats } from '@tresjs/cientos'
</script>
<template>
<TresCanvas>
<Stats />
</TresCanvas>
</template>
| Prop | Type | Default | Description |
|---|---|---|---|
| showPanel | number | 0 | FPS monitor. |