A series of lines drawn between pairs of vertices.

This is nearly the same as Line; the only difference is that it is rendered using gl.LINES instead of gl.LINE_STRIP.


LineSegments(geometry : Geometry, material : Material)

geometry — Pair(s) of vertices representing each line segment(s).
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.


See the base Line class for common properties.

.isLineSegments : Boolean

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

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


See the base Line class for common methods.


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