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

Object3D → Line →

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