LineSegments - Verge3D User Manual - Soft8Soft
Description: Learn how to use LineSegments in your interactive 3D apps made with Verge3D

Object3D → Line →

# 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(geometry : BufferGeometry, material : Material)

- 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 : Boolean

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

## 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.