Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Draw a Disc shape with radius, optional color, optional end color, rotates to face direction of the object calling the script in 3D. Must be called in onDrawShapes function
Parameters:
- position
- A string value
- radius Optional
- A float value
- color Optional
- A string value
- endColor Optional
- A string value
Example:
1 | obj.shapesDisc(position, radius = 1, color, endColor) |