Import
EdgeSplitModifier is an addon, and must be imported explicitly, see Installation#Addons.
import { EdgeSplitModifier } from 'three/addons/modifiers/EdgeSplitModifier.js';
Methods
.modify( geometry : BufferGeometry, cutOffAngle : number, tryKeepNormals : boolean ) : BufferGeometry
Returns a new, modified version of the given geometry by applying an edge-split operation. Please note that the resulting geometry is always indexed.
| geometry |
The geometry to modify. |
| cutOffAngle |
The cut off angle in radians. |
| tryKeepNormals |
Whether to try to keep normals or not. Default is |
- Returns: A new, modified geometry.