Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | – |
Draw a line using Shapes with start position, end position, optional color, optional thickness, optionally if it’s dashed, optionally a blended ending color, optionally rounded ends. Must be called in onDrawShapes function
Parameters:
- start
- A string value
- end
- A string value
- color
- A string value
- thickness Optional
- A float value
- dashed Optional
- A boolean value
- endColor Optional
- A string value
- roundedEnd Optional
- A boolean value
Example:
1 | obj.shapesLine(start, end, color, thickness = 1, dashed, endColor, roundedEnd) |