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.
Description
ObjPlugin is a class in the Aspose.3D FOSS library for TypeScript that exposes 7 methods and 0 properties for programmatic use. It extends Plugin, inheriting shared functionality from its parent type.
Core capabilities include: Creates a new objplugin object. These operations enable developers to integrate objplugin functionality directly into TypeScript applications.
Instances are created through a single constructor that initializes the object with default values.
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 |