---
Product: Aspose.3D
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/typescript/GltfPlugin
---

# 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.

## Description

`GltfPlugin` is a class in the Aspose.3D FOSS library for TypeScript that exposes 9 methods and 0 properties for programmatic use. It extends `Plugin`, inheriting shared functionality from its parent type.

Instances are created through a single constructor that initializes the object with default values.

## Methods

| Signature | Description |
|-----------|-------------|
| `constructor()` |  |
| `getInstance()` → `GltfPlugin` | Returns the singleton GltfPlugin object |
| `createImporter()` → `Importer` | Creates a new GLTF Importer for reading files |
| `createExporter()` → `Exporter` | Creates a new GLTF Exporter for writing files |
| `getFileFormat()` → `FileFormat` | Returns the FileFormat object representing GLTF |
| `getImporter()` → `Importer` | Returns the default GLTF Importer instance |
| `getExporter()` → `Exporter` | Returns the default GLTF Exporter instance |
| `getFormatDetector()` → `FormatDetector` | Returns a detector that identifies GLTF files |
| `createLoadOptions()` → `GltfLoadOptions` | Creates a GltfLoadOptions object for import settings |
| `createSaveOptions()` → `GltfSaveOptions` | Creates a GltfSaveOptions object for export settings |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)