ObjPlugin

Vue d’ensemble

‘ObjPlugin’ enregistre Wavefront OBJ (.obj) I/O support dans l’Aspose.3D pour TypeScript runtime. Il connecte les composants ’ ObjFormatDetector’, ‘obzImporter’ et ‘OBjExporter afin que 'Scene.open()' and 'scene .save() puissent gérer transparemment les fichiers ‘. obj’ sans nécessiter aucune configuration explicite. Plugins sont initialisés automatiquement lorsque le package ‘@aspose-3d/api’ est chargé; code d’application ne doit pas être instantané ou enregistré directement.

Description

‘ObjPlugin’ est une classe dans la bibliothèque Aspose.3D FOSS pour TypeScript qui expose 7 méthodes et 0 propriétés pour l’utilisation programmatique.

Les fonctionnalités de base incluent: Créer un nouveau objet objplugin. Ces opérations permettent aux développeurs d’intégrer la fonctionnement objepluge directement dans les applications TypeScript.

Les instances sont créées à travers un constructeur unique qui initialisera l’objet avec des valeurs par défaut.

méthodes

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

Voir aussi

  • Aspose.3D - référence API d’entreprise
 Français