exportFile

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>

Parameters
Description
Type

format

The 3D format file to export the current scene.

options

ExportOptions

  • fbx: 'ASCII'(default) | 'Binary'

  • applyParentMatrix: boolean

  • exportOnlyUsedUVs: boolean

Usage:

await modelApi.exportFile('FBX', {fbx: 'Binary'});

Last updated