GltfFormat
Overview
GltfFormat is a class in Aspose.3D FOSS for Python.
GltfFormat.create_load_options creates a GLTF-specific load options object for importing scenes.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
extension | str | Read | Holds the default file extension string for GLTF files (e.g., “.gltf”) |
extensions | List[str] | Read | Contains a list of all file extensions associated with the GLTF format |
content_type | str | Read | Provides the MIME type string for GLTF content (e.g., “model/gltf+json”) |
file_format_type | `` | Read | Identifies the GLTF format type, typically an enum value |
version | str | Read | Returns the GLTF specification version supported (e.g., “2.0”) |
can_export | bool | Read | Indicates whether the GLTF format supports exporting from the library |
can_import | bool | Read | Indicates whether the GLTF format supports importing into the library |
formats | List | Read | Lists the format identifiers or names that the class can handle |
Methods
| Signature | Description |
|---|---|
create_load_options() | Creates a GLTF-specific load options object for importing scenes |
create_save_options() | Creates a GLTF-specific save options object for exporting scenes |