Skip to content

Commit

Permalink
changed defaults to all stats+labels on
Browse files Browse the repository at this point in the history
pretty as default, tunable by turning off features if desired
  • Loading branch information
kylebakerio authored Aug 19, 2021
1 parent f8a0799 commit 7a1412c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stats-in-vr.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ AFRAME.registerComponent("stats-in-vr", {
updateIntervalMs: { type: "number", default: 20 }, // throttle
show2dstats: { type: "boolean", default: true }, // show the built-in 'stats' component
anchorEl: { type: "string", default: "[camera]" }, // anchor in-vr stats to something other than the camera
showAllLabels: { type: "boolean", default: false },
showAllLabels: { type: "boolean", default: true },
showLabels: {type: 'array', default:['raf','fps','calls','entities']}, // e.g., ['raf','fps','calls','entities']
showAllGraphs: { type: "boolean", default: false },
showAllGraphs: { type: "boolean", default: true },
showGraphs: {type: 'array', default:['raf','fps','calls','entities']}, // e.g., ['raf','fps','calls','entities']
},

Expand Down

0 comments on commit 7a1412c

Please sign in to comment.