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

renderer.drawPoint

drawPoint(point, size, color, depth): void

Draws a round dot at a world position. The size is in screen pixels and does not shrink with distance.

Parameters

point

Vec3

The position in world coordinates.

size

number

The dot diameter in pixels (0.1-64).

color

Color

The dot color.

depth

boolean

Whether the dot is hidden behind blocks.

Returns

void

Last updated