BufferGeometry

WireframeGeometry

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

Code Example

const geometry = new v3d.SphereBufferGeometry(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; scene.add(line);

Examples

helpers

Constructor

WireframeGeometry(geometry : Geometry)

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.