points

@JvmName(name = "points2D")
fun points(points: List<Vector2>)(source)

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

Parameters

points

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


@JvmName(name = "points3D")
fun points(points: List<Vector3>)(source)

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

Parameters

points

The list of 3D points to be drawn.


fun points(build: PointBatchBuilder.() -> Unit)(source)

Draws a batch of points using the provided configuration builder.

Parameters

build

A lambda with receiver of type PointBatchBuilder that is used to configure the batch of points to be drawn.


fun points(batch: PointBatch, count: Int = batch.size)(source)

Draws a specified number of points from the given point batch.

Parameters

batch

The batch of points to be drawn.

count

The number of points to draw from the batch. If not specified, it defaults to the size of the batch.