BufferGeometry

WireframeGeometry

This can be used as a helper object to view a geometry as a wireframe.

Code Example

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);

Constructor

WireframeGeometry(geometry : BufferGeometry)

geometry — any geometry object.

Properties

See the base BufferGeometry class for common properties.

Methods

See the base BufferGeometry class for common methods.

Source

For more info on how to obtain the source code of this module see this page.