GltfImporter
General
GltfImporter is a class in Aspose.3d for Python.
Inherits from: Importer.
GltfImporter és una classe en Aspose.3d per a Python. Hereta de: ゚Importer⌒ .
GltfImporter.supports_format(file_format) indica si l’importador pot llegir el format donat, i import_scene carrega dades GLTF en un objecte de Scene.
Mètodes
| Signature | Description |
|---|---|
__init__() | |
supports_format(file_format) → bool | Indicates whether the importer can read the given format, and import_scene loads GLTF data into a Scene object |
import_scene(scene: 'Scene', stream, options: 'GltfLoadOptions') | Loads a GLTF scene from a stream into the provided Scene using the specified GltfLoadOptions |