Skip to main content

Object3DLine

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

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

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

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

src/objects/LineLoop.js