ObjPlugin
Overview
ObjPlugin registers Wavefront OBJ (.obj) I/O support in the Aspose.3D for TypeScript runtime. It wires together the ObjFormatDetector, ObjImporter, and ObjExporter components so that Scene.open() and Scene.save() can transparently handle .obj files without requiring any explicit configuration. Plugins are initialised automatically when the @aspose-3d/api package is loaded; application code does not need to instantiate or register them directly.
Methods
| Signature | Description |
|---|---|
constructor() | Creates a new ObjPlugin object |
getInstance() → ObjPlugin | ` returns a singleton that provides access to the OBJ format, its importer, exporter, and format detector |
getFileFormat() → ObjFormat | Returns the ObjFormat associated with this plugin |
getImporter() → ObjImporter | Returns an ObjImporter for reading OBJ files |
getExporter() → ObjExporter | Returns an ObjExporter for writing OBJ files |
getFormatDetector() → ObjFormatDetector | Returns an ObjFormatDetector for detecting OBJ format |
createLoadOptions() → ObjLoadOptions | Creates a default ObjLoadOptions object |
createSaveOptions() → ObjSaveOptions | Creates a default ObjSaveOptions object |