This can be used as a helper object to view a [page:BufferGeometry geometry] as a wireframe.
const geometry = new THREE.SphereGeometry( 100, 100, 100 );
const wireframe = new THREE.WireframeGeometry( geometry );
const line = new THREE.LineSegments( wireframe );
line.material.depthTest = false;
line.material.opacity = 0.25;
line.material.transparent = true;
scene.add( line );
[example:webgl_helpers helpers]
geometry — any geometry object.
See the base [page:BufferGeometry] class for common properties.
See the base [page:BufferGeometry] class for common methods.
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]