📄 threejs/Core/Objects/LineLoop

File: LineLoop.md | Updated: 11/15/2025


title: LineLoop category: Core layout: docs

LineLoop

A continuous line. This is nearly the same as Line the only difference is that the last vertex is connected with the first vertex in order to close the line to form a loop.

Constructor

new LineLoop( geometry : BufferGeometry, material : Material | Array.<Material> )

Constructs a new line loop.

geometry | The line geometry.
---|---
material | The line material.

Properties

.isLineLoop : boolean (readonly)

This flag can be used for type testing.

Default is true.

Source

src/objects/LineLoop.js