Optional
animationsOptional
embedEmbed previews of images in glb
false
Optional
embedembed images in glb even when remote url is available
false
Optional
encodesee GLTFViewerExport->processViewer
false
Optional
encryptEncrypt the exported file in a GLB container using encryptKey
false.
Works only for glb export.
Optional
encryptEncryption key, if not provided, will be prompted
undefined.
Works only for glb export.
Optional
exportExtension to export to, default for object/scene = glb
Optional
externalsee GLTFDracoExporter and GLTFMaterialExtrasExtension
Optional
forceGenerate indices for non-index geometry and export with them. Default is false.
Optional
includeExport custom glTF extensions defined on an object's userData.gltfExtensions property. Default is true.
Optional
jsonNumber of spaces to use when exporting to json
2
Optional
maxRestricts the image maximum size (both width and height) to the given value. This option works only if embedImages is true. Default is Infinity.
Optional
onlyExport only visible objects. Default is false.
Optional
preserveUUIDsOptional
trsExport position, rotation and scale instead of matrix per node. Default is false
Optional
truncateExport just the attributes within the drawRange, if defined, instead of exporting the whole array. Default is true.
Optional
viewerexport viewer config (scene settings)
Generated using TypeDoc
List of animations to be included in the export.