Optional
animationsOptional
compressOptional
convertOptional
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, default for viewerConfig = json, default for material = mat, otherwise determined by exporter
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
nameOptional
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 and bundle the viewer config (scene settings). only works for rootSceneModelRoot and supported only in GLTFExporter2 GLTFExporter2Options.viewerConfig
true
Generated using TypeDoc
List of animations to be included in the export.