[page:BufferGeometry] →
[name]
This can be used as a helper object to view the edges of a [page:Geometry Geometry] object.
Example
[example:webgl_helpers helpers]
var geometry = new THREE.BoxBufferGeometry( 100, 100, 100 );
var edges = new THREE.EdgesGeometry( geometry );
var line = new THREE.LineSegments( edges, new THREE.LineBasicMaterial( { color: 0xffffff } ) );
scene.add( line );
Constructor
[name]( [param:Geometry geometry], [param:Integer thresholdAngle] )
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.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]