whs-cube-spheres
Version:
This plugin has a container with multiple spheres.
27 lines (18 loc) • 900 B
Markdown
> Based of [stats.js](https://github.com/mrdoob/stats.js). Thanks to [@mrdoob](https://github.com/mrdoob)
```javascript
const app = new WHS.App([
new WHS.ElementModule(), // This module is required
// other modules
new StatsModule(StatsModule.codes.fps) // or just "0"
]);
```
Name | Description | Alias
--------|--------------------------------------------------------------------------|------
`stats` | `Stats` object provided by [stats.js](https://github.com/mrdoob/stats.js)| `app.$stats`
See [stats.js example](https://github.com/mrdoob/stats.js#usage) for full codes list

<img src="http://i.imgur.com/i4A4FIp.png" width="50%" />