Interface ShellSimplificationParams

Vertex-clustering simplification settings for generated shell meshes.

interface ShellSimplificationParams {
    maxClusterSizeVoxels?: number;
    targetTriangleCount?: number;
}

Properties

maxClusterSizeVoxels?: number

Maximum clustering cell size, measured in voxels.

Larger cells reduce triangles more aggressively but lose more silhouette detail.

targetTriangleCount?: number

Target triangle budget after extraction and optional smoothing.

The simplifier stops when the mesh is at or below this count, or when it reaches the configured cluster-size limit.