For the complete documentation index, see llms.txt. This page is also available as Markdown.

renderer.drawFilledCircle

drawFilledCircle(center, radius, segments, color, depth): void

Draws a filled horizontal disc on the XZ plane. Visible from both above and below.

Parameters

center

Vec3

The center position in world coordinates.

radius

number

The radius in blocks.

segments

number

The number of segments (3-256; higher is smoother).

color

Color

The fill color.

depth

boolean

Whether the disc is hidden behind blocks.

Returns

void

Last updated