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

SignatureDescription
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()ObjFormatReturns the ObjFormat associated with this plugin
getImporter()ObjImporterReturns an ObjImporter for reading OBJ files
getExporter()ObjExporterReturns an ObjExporter for writing OBJ files
getFormatDetector()ObjFormatDetectorReturns an ObjFormatDetector for detecting OBJ format
createLoadOptions()ObjLoadOptionsCreates a default ObjLoadOptions object
createSaveOptions()ObjSaveOptionsCreates a default ObjSaveOptions object

See Also