Options for glTF/GLB export.
When materials is provided, faces are grouped into separate glTF primitives by material, enabling per-face coloring.
materials
Optional
Map of faceId → material. FaceIds come from ShapeMesh.faceGroups[].faceId.
Options for glTF/GLB export.
When
materialsis provided, faces are grouped into separate glTF primitives by material, enabling per-face coloring.