Object3DLine

LineLoop

A continuous line that connects back to the start.

This is nearly the same as Line; the only difference is that it is rendered using gl.LINE_LOOP instead of gl.LINE_STRIP, which draws a straight line to the next vertex, and connects the last vertex back to the first.

Constructor

LineLoop(geometry : BufferGeometry, material : Material)

geometry — List of vertices representing points on the line loop.
material — Material for the line. Default is LineBasicMaterial.

Properties

See the base Line class for common properties.

.isLineLoop : Boolean

Read-only flag to check if a given object is of type LineLoop.

Methods

See the base Line class for common methods.

Source

For more info on how to obtain the source code of this module see this page.