renderer.drawCylinder
drawCylinder(
base,radius,height,segments,color,depth):void
Draws an open-ended cylinder standing on the given position. Useful as a range or selection marker.
Parameters
base
The base center position in world coordinates.
radius
number
The radius in blocks.
height
number
The height in blocks.
segments
number
The number of segments (3-256; higher is smoother).
color
The fill color.
depth
boolean
Whether the cylinder is hidden behind blocks.
Returns
void
Last updated