Skip to content

Commit

Permalink
Adjust the position of the "REC" in HMD.
Browse files Browse the repository at this point in the history
Adjust the position of the "REC" in HMD.
  • Loading branch information
AleziaKurdis authored May 17, 2024
1 parent 9b8b0aa commit 70783fe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions applications/record/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,19 @@
hmdOverlay = Entities.addEntity({
"type": "Text",
"text": recordingText,
"dimensions": { "x": 3 * HMD_FONT_SIZE, "y": HMD_FONT_SIZE },
"dimensions": { "x": 4 * HMD_FONT_SIZE, "y": 2 * HMD_FONT_SIZE },
"parentID": MyAvatar.sessionUUID,
"parentJointIndex": CAMERA_JOINT_INDEX,
"localPosition": { "x": 0.95, "y": 0.95, "z": -2.0 },
"localPosition": { "x": 0.35, "y": 0.25, "z": -0.9 },
"textColor": { "red": 255, "green": 0, "blue": 0 },
"textAlpha": 0.9,
"lineHeight": HMD_FONT_SIZE,
"backgroundAlpha": 0,
"ignorePickIntersection": true,
"billboardMode": "full",
"renderLayer": "front",
"visible": true
"visible": true,
"unlit": true
}, "local");
} else {
// 2D overlay on desktop.
Expand Down

0 comments on commit 70783fe

Please sign in to comment.