drawPoints

@JvmName(name = "drawPoints2D")
fun drawPoints(drawContext: DrawContext, drawStyle: DrawStyle, positions: List<Vector2>)(source)

Draws a list of 2D points using the specified drawing context and style.

Parameters

drawContext

The drawing context that provides transformation matrices and rendering parameters.

drawStyle

The style that defines the visual appearance of the points, such as color and stroke settings.

positions

The list of 2D points to be drawn, each represented as a Vector2.


@JvmName(name = "drawPoints3D")
fun drawPoints(drawContext: DrawContext, drawStyle: DrawStyle, positions: List<Vector3>)(source)

Draws a list of 3D points using the specified drawing context and style.

Parameters

drawContext

The drawing context that provides transformation matrices and rendering parameters.

drawStyle

The style that defines the visual appearance of the points, such as color and stroke settings.

positions

The list of 3D points to be drawn, each represented as a Vector3.


fun drawPoints(drawContext: DrawContext, drawStyle: DrawStyle, batch: PointBatch, count: Int)(source)

Draws a batch of points using the specified drawing context and style.

Parameters

drawContext

The drawing context that provides transformation matrices and rendering parameters.

drawStyle

The style that defines the visual appearance of the points, such as color and stroke settings.

batch

A batch containing the geometry and associated drawing styles for the points.

count

The number of points to be drawn from the batch.