Capítulo 607 de 859
This class can be used to modify a geometry by breaking its edges if they are longer than maximum length.
const modifier = new TessellateModifier( 8, 6 );
geometry = modifier.modify( geometry );
Constructor
| Signature |
|---|
new TessellateModifier( maxEdgeLength : number, maxIterations : number ) |
Properties
| Property | Description |
|---|---|
.maxEdgeLength : number | The maximum edge length. |
.maxIterations : number | The maximum edge length. |
Methods
| Method | Description |
|---|---|
.modify( geometry : BufferGeometry ) : BufferGeometry | Returns a new, modified version of the given geometry by applying a tessellation. Please note that the resulting geometry is always non-indexed. |