Skip to main content

Object3DLine

LineSegments

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.

Constructor

LineSegments

function LineSegments( geometry: BufferGeometry, material: Material ): void;  

geometry — Pair(s) of vertices representing each line segment(s).
material — Material for the line. Default is LineBasicMaterial.

Properties

See the base Line class for common properties.

isLineSegments

isLineSegments: Boolean;  

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

Methods

See the base Line class for common methods.

Source

src/objects/LineSegments.js