Scenes or objects to export. Valid options:
exporter.parse( scene1, ... )
exporter.parse( [ scene1, scene2 ], ... )
exporter.parse( object1, ... )
exporter.parse( [ object1, object2 ], ... )
exporter.parse( [ scene1, object1, object2, scene2 ], ... )
Will be called when the export completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
Will be called if there are any errors during the gltf generation.
Export options
Optional
extraExtensions: (parser: GLTFWriter2) => GLTFExporterPlugin[]
Generates a .gltf (JSON) or .glb (binary) output from the input (Scenes or Objects)