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 : Geometry, material : Material)

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

If no material is supplied, a randomized line material will be created and assigned to the object.

Properties

See the base Line class for common properties.

.isLineLoop : Boolean

Used to check whether this or derived classes are line loops. Default is true.

You should not change this, as it used internally for optimisation.

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.