The glTF Document to which this Mesh will be added.
The Manifold Mesh to convert to glTF.
A map from originalID to Properties that include the glTF Material and the set of attributes to output. All triangle runs with the same originalID will be combined into a single output primitive. Any originalIDs not found in the map will have the glTF default material and no attributes beyond 'POSITION'. Each attributes array must correspond to the manifoldMesh vertProperties, thus the first attribute must always be 'POSITION'. Any properties that should not be output for a given primitive must use the 'SKIP_*' attributes.
The glTF Mesh to add to the Document.
Write a Manifold Mesh into a glTF Mesh object, using the EXT_mesh_manifold extension to allow for lossless roundtrip of the manifold mesh through the glTF file.