Create a new instance of the exporter.
Converts a hierarchy of entities to GLB format.
The root of the entity hierarchy to convert.
Object for passing optional arguments.
Optional
maxTextureSize?: numberMaximum texture size. Texture is resized if over the size.
Optional
stripUnusedAttributes?: booleanIf true, removes unused vertex attributes:
Defaults to false.
Implementation of the GLTF 2.0 format exporter.