Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | – |
Draw a quad 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
- positionD
- A string value
- colorA
- A string value
- colorB
- A string value
- colorC
- A string value
- colorD
- A string value
Example:
1 | obj.shapesQuad(positionA, positionB, positionC, positionD, colorA, colorB, colorC, colorD) |