Import
SimplifyModifier is an addon, and must be imported explicitly, see Installation#Addons.
import { SimplifyModifier } from 'three/addons/modifiers/SimplifyModifier.js';
Methods
.modify( geometry : BufferGeometry, count : number ) : BufferGeometry
Returns a new, modified version of the given geometry by applying a simplification. Please note that the resulting geometry is always non-indexed.
| geometry |
The geometry to modify. |
| count |
The number of vertices to remove. |
- Returns: A new, modified geometry.