Export scene as glTF

Is it possible to export the scene as a whole to glTF? I’m able to get the glb data for every object using api.current?.scene.get(undefined, 'CommPlugin_1'), but then I have to merge these into one glTF file. THREE.js has a GLTFExporter plugin (https://threejs.org/docs/#examples/en/exporters/GLTFExporter) but this needs access to the THREE.Scene instance. This would be ideal because this export would resemble the scene as shown in the viewer the best (including textures etc.). Is it possible to get access to the more low level THREE.Scene instance? Or is there another way of exporting?

Background: we’re trying to display the scene in a iOS Quicklook AR view. This needs a USDZ file, which is best converted from glTF or glb.


The current API doesn’t support this at the moment but thanks for the feature request, I added it on our roadmap and I will get back to you when we have an update on this.

1 Like