Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | – |
Draw a triangle with optional colors at each corner. Must be called in onDrawShapes function
Parameters:
- positionA
- A string value
- positionB
- A string value
- positionC
- A string value
- colorA
- A string value
- colorB
- A string value
- colorC
- A string value
Example:
1 | obj.shapesTriangle(positionA, positionB, positionC, colorA, colorB, colorC) |