Import
TessellateModifier is an addon, and must be imported explicitly, see Installation#Addons.
import { TessellateModifier } from 'three/addons/modifiers/TessellateModifier.js';
Constructor
new TessellateModifier( maxEdgeLength : number, maxIterations : number )
Constructs a new Tessellate modifier.
| maxEdgeLength |
The maximum edge length. Default is |
| maxIterations |
The number of iterations. Default is |
Properties
.maxEdgeLength : number
The maximum edge length.
Default is 0.1.
.maxIterations : number
The maximum edge length.
Default is 0.1.
Methods
.modify( geometry : BufferGeometry ) : BufferGeometry
Returns a new, modified version of the given geometry by applying a tesselation. Please note that the resulting geometry is always non-indexed.
| geometry |
The geometry to modify. |
- Returns: A new, modified geometry.