Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | – |
onDrawShapes is called when the camera is rendering and Shapes code can be executed here to draw on top of the camera frame
Parameters:
- cameraName
- The string name of the camera calling the script
Example:
1 2 3 | function onDrawShapes(cameraName) obj.shapesLine("0,0,0","1,1,1","1,1,1,1", 1, false,"1,1,1,1",false) end |