renderer.drawCircle
drawCircle(
center,radius,segments,color,width,depth):void
Draws a horizontal ring on the XZ plane, centered on the given position.
Parameters
center
The center position in world coordinates.
radius
number
The radius in blocks.
segments
number
The number of segments (3-256; higher is smoother).
color
The line color.
width
number
The line width in pixels (0.1-64).
depth
boolean
Whether the ring is hidden behind blocks.
Returns
void
Last updated