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

renderer.drawLineStrip

drawLineStrip(points, color, width, depth): void

Connects an array of world positions with a continuous line. Useful for paths, trails and projectile predictions.

Parameters

points

Vec3[]

An array of Vec3 positions in world coordinates.

color

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