File: EdgesGeometry.md | Updated: 11/15/2025
Can be used as a helper object to view the edges of a geometry.
Note: It is not yet possible to serialize/deserialize instances of this class.
const geometry = new THREE.BoxGeometry();
const edges = new THREE.EdgesGeometry( geometry );
const line = new THREE.LineSegments( edges );
scene.add( line );
Constructs a new edges geometry.
geometry | The geometry. Default is null.
---|---
thresholdAngle | An edge is only rendered if the angle (in degrees) between the face normals of the adjoining faces exceeds this value. Default is 1.
Holds the constructor parameters that have been used to generate the geometry. Any modification after instantiation does not change the geometry.