lineLoop

fun lineLoop(points: List<Vector2>)(source)

Renders a closed loop of connected line segments given a list of points.

Parameters

points

A list of 2D vectors representing the points to create the line loop. Each point in the list is connected sequentially, with the last point connecting back to the first.


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

Draws a closed loop connecting given 3D points.

Parameters

points

A list of Vector3 objects representing the 3D points to form the closed loop.