Optional_OptionalanimationsOptionalcompressOptionalconvertOptionalembedEmbed previews of images in glb
Optionalembedembed images in glb even when remote url is available
Optionalencodesee GLTFViewerExport->processViewer
OptionalencryptEncrypt the exported file in a GLB container using encryptKey
OptionalencryptEncryption key, if not provided, will be prompted
OptionalexportExtension to export to, default for object/scene = glb, default for viewerConfig = json, default for material = mat, otherwise determined by exporter
Optionalexternalsee GLTFDracoExporter and GLTFMaterialExtrasExtension
OptionalforceGenerate indices for non-index geometry and export with them. Default is false.
OptionalincludeExport custom glTF extensions defined on an object's userData.gltfExtensions property. Default is true.
OptionaljsonNumber of spaces to use when exporting to json
OptionalmaxRestricts the image maximum size (both width and height) to the given value. This option works only if embedImages is true. Default is Infinity.
OptionalnameOptionalonlyExport only visible objects. Default is false.
OptionalpreserveOptionaltrsExport position, rotation and scale instead of matrix per node. Default is false
OptionaltruncateExport just the attributes within the drawRange, if defined, instead of exporting the whole array. Default is true.
OptionalviewerExport and bundle the viewer config (scene settings). only works for rootSceneModelRoot and supported only in GLTFExporter2 GLTFExporter2Options.viewerConfig
List of animations to be included in the export.