Import
Line2 is an addon, and must be imported explicitly, see Installation#Addons.
import { Line2 } from 'three/addons/lines/Line2.js';
Constructor
new Line2( geometry : LineGeometry, material : LineMaterial )
Constructs a new wide line.
| geometry |
The line geometry. |
| material |
The line material. |
Properties
.isLine2 : boolean (readonly)
This flag can be used for type testing.
Default is true.