renderer.drawLine
drawLine(
start,end,color,width,depth):void
Draws a straight line between two world positions.
Parameters
start
The start position in world coordinates.
end
The end position in world coordinates.
color
The line color.
width
number
The line width in pixels (0.1-64).
depth
boolean
Whether the line is hidden behind blocks.
Returns
void
Last updated