GltfPlugin

Overview

GltfPlugin registers glTF (.gltf/.glb) I/O support in the Aspose.3D for TypeScript runtime. It wires together the format detector, importer, and exporter components for the glTF (.gltf/.glb) format so that Scene.open() and Scene.save() can transparently read and write .gltf files without any explicit format configuration by the caller. Plugins are initialised automatically when the @aspose-3d/api package is loaded at application startup; you do not need to instantiate or register them directly in your own code.

Methods

SignatureDescription
constructor()
getInstance()GltfPluginReturns the singleton GltfPlugin object
createImporter()ImporterCreates a new GLTF Importer for reading files
createExporter()ExporterCreates a new GLTF Exporter for writing files
getFileFormat()FileFormatReturns the FileFormat object representing GLTF
getImporter()ImporterReturns the default GLTF Importer instance
getExporter()ExporterReturns the default GLTF Exporter instance
getFormatDetector()FormatDetectorReturns a detector that identifies GLTF files
createLoadOptions()GltfLoadOptionsCreates a GltfLoadOptions object for import settings
createSaveOptions()GltfSaveOptionsCreates a GltfSaveOptions object for export settings

See Also