Options for the simplify function.


error: number

Limit on error, as a fraction of mesh radius. Default: 0.0001 (0.01%).

lockBorder: boolean

Whether to lock topological borders of the mesh. May be necessary when adjacent 'chunks' of a large mesh (e.g. terrain) share a border, helping to ensure no seams appear.

ratio: number

Target ratio (0–1) of vertices to keep. Default: 0.0 (0%).

simplifier: unknown

MeshoptSimplifier instance.

Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.