This can be used as a helper object to view a geometry as a wireframe.
const geometry = new v3d.SphereGeometry(100, 100, 100);
const wireframe = new v3d.WireframeGeometry(geometry);
const line = new v3d.LineSegments(wireframe);
line.material.depthTest = false;
line.material.opacity = 0.25;
line.material.transparent = true;
app.scene.add(line);
geometry — any geometry object.
See the base BufferGeometry class for common properties.
See the base BufferGeometry class for common methods.
For more info on how to obtain the source code of this module see this page.