whs.js/modules/whs-module-statsjs
2017-04-08 10:49:02 +03:00
..
2017-03-13 09:41:48 +02:00
2017-03-13 09:41:48 +02:00
2017-03-13 09:41:48 +02:00
2017-03-13 09:41:48 +02:00
2017-03-13 09:41:48 +02:00
2017-04-08 10:49:02 +03:00
2017-03-13 09:41:48 +02:00

whs-module-statsjs - Module for JavaScript Performance Monitor

Based of stats.js. Thanks to @mrdoob

Usage

const app = new WHS.App([
  new WHS.ElementModule(), // This module is required
  // other modules
  new StatsModule(StatsModule.codes.fps) // or just "0"
]);

Exported dependencies

Name Description Alias
stats Stats object provided by stats.js app.$stats

See stats.js example for full codes list

Screenshots

Screenshot