WireframeGeometry - Verge3D User Manual - Soft8Soft
Description: Learn how to use WireframeGeometry in your interactive 3D apps made with Verge3D

BufferGeometry →

# WireframeGeometry

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

## Code Example

`const geometry = new v3d.SphereGeometry(3, 50, 30); const wireframe = new v3d.WireframeGeometry(geometry); const line = new v3d.LineSegments(wireframe); line.material.depthTest = false; line.material.opacity = 0.5; line.material.transparent = true; app.scene.add(line);`

## Constructor

### WireframeGeometry(geometry : BufferGeometry)

geometry — any geometry object.

## Properties

See the base BufferGeometry class for inherited properties.

## Methods

See the base BufferGeometry class for inherited methods.

## Source

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