BufferGeometry

EdgesGeometry

This can be used as a helper object to view the edges of a Geometry object.

Example

helpers var geometry = new v3d.BoxBufferGeometry(100, 100, 100); var edges = new v3d.EdgesGeometry(geometry); var line = new v3d.LineSegments(edges, new v3d.LineBasicMaterial({ color: 0xffffff })); scene.add(line);

Constructor

EdgesGeometry(geometry : Geometry, thresholdAngle : Integer)

geometry — Any geometry object.
thresholdAngle — An edge is only rendered if the angle (in degrees) between the face normals of the adjoining faces exceeds this value. default = 1 degree.

Properties

.parameters : Object

An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.

Source

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