Last updated 1 month ago
Exports/downloads a 3D file of your format’s choosing, of the current scene. Options can be added.
exportFile( format: Export3DFormats, options?: ExportOptions ): Promise<void>
format
The 3D format file to export the current scene.
options
fbx: 'ASCII'(default) | 'Binary'
fbx
'ASCII'
'Binary'
applyParentMatrix: boolean
applyParentMatrix
boolean
exportOnlyUsedUVs: boolean
exportOnlyUsedUVs
Usage:
await modelApi.exportFile('FBX', {fbx: 'Binary'});
Export3DFormats
ExportOptions