GltfImporter

Overview

GltfImporter is a class in Aspose.3D FOSS for Python. Inherits from: Importer.

GltfImporter.supports_format returns true when the specified file format can be imported.

This class declares 5 methods for GltfImporter objects in Python programs. Available methods include: __init__, import_scene, supports_format. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

Methods

SignatureDescription
__init__()Calls init on this GltfImporter instance.
supports_format(file_format)boolReturns true when the specified file format can be imported
import_scene(scene: 'Scene', stream, options: 'GltfLoadOptions')Loads a GLTF scene from a stream into the given Scene using GltfLoadOptions
supports_format(file_format: 'FileFormat')boolNot implemented in the FOSS edition — throws at runtime. Calls supports_format(file_format) on this GltfImporter instance.
import_scene(scene: 'Scene', stream, options: 'LoadOptions')Not implemented in the FOSS edition — throws at runtime. Calls import_scene(scene, stream, options) on this GltfImporter instance.

See Also

 English