Class: MeshEdgesGeometry

MeshEdgesGeometry~MeshEdgesGeometry(object, thresholdAngle)

Class for extracting edges from gltf files.

Constructor

new MeshEdgesGeometry(object, thresholdAngle)

Parameters:
Name Type Default Description
object THREE.Scene Any geometry object.
thresholdAngle Number 1 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:

Extends

Methods

extractEdges(object, thresholdAngle) → {THREE.BufferAttribute}

Extract edges - each edge is an individual segment.
Parameters:
Name Type Description
object THREE.Scene Any geometry object.
thresholdAngle Number 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:
See:
Returns:
position buffer.
Type
THREE.BufferAttribute