BufferGeometry

WireframeGeometry

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

Example

helpers var geometry = new v3d.SphereBufferGeometry(100, 100, 100); var wireframe = new v3d.WireframeGeometry(geometry); var line = new v3d.LineSegments(wireframe); line.material.depthTest = false; line.material.opacity = 0.25; line.material.transparent = true; scene.add(line);

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.