Skip to content

Commit 7501dda

Browse files
Update comments to clarify usage instructions for vr-logger component
1 parent e659669 commit 7501dda

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/components/vr-logger/vr-logger.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
// VR Console Logger
2+
//
3+
// To use, add the following within the camera rig or elsewhere if desired:
4+
//
5+
// <a-entity position="0 1 -2" rotation="0 0 0">
6+
// <a-text position="0 0.25 0" scale=".5 .5 .5" vr-logger></a-text>
7+
// </a-entity>
28
AFRAME.registerComponent("vr-logger", {
39
schema: {
410
maxMessages: { type: "int", default: 5 }, // Maximum number of messages to display

0 commit comments

Comments
 (0)