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

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