Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Shapes
  5. shapesQuad

shapesQuad

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)
Tags
Was this article helpful to you? Yes No

How can we help?