Skip to main content

Function: simplifyMesh()

simplifyMesh(options): MeshSimplificationResult

Defined in: modules/engine/src/geometry/mesh-simplification.ts:63

Simplifies an indexed triangle mesh through deterministic endpoint-only quadric edge collapses.

The returned indices always reference existing source vertices. Positions, UV coordinates, normals, joint indices, joint weights, morph deltas, and other original attributes therefore remain shared and unchanged across every generated detail level.

Parameters​

options​

MeshSimplificationOptions

Returns​

MeshSimplificationResult