Capítulo 31 de 859
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 );
Constructor
| Signature |
|---|
new EdgesGeometry( geometry : BufferGeometry, thresholdAngle : number ) |
Properties
| Property | Description |
|---|---|
.parameters : Object | Holds the constructor parameters that have been used to generate the geometry. Any modification after instantiation does not change the geometry. |