Model loading · interface
SimplifyOptions
Explained in Importing models.
interface SimplifyOptionsimport type { SimplifyOptions } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
maxErrorreadonly | number | The furthest the surface may move, in the mesh's units: metres, for a baked scene. |
maxUvErrorreadonlyoptional | number | The furthest a texture may slide under the surface, in uv units: a texel of a 1,024 map by default. Checked at every vertex a collapse has removed, so it cannot accumulate. |
minRatioreadonlyoptional | number | Stop once this share of the triangles is left, whatever the error. 0 by default. |