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

NameTypeAccessDescription
extensionstrReadHolds the default file extension string for GLTF files (e.g., “.gltf”)
extensionsList[str]ReadContains a list of all file extensions associated with the GLTF format
content_typestrReadProvides the MIME type string for GLTF content (e.g., “model/gltf+json”)
file_format_type``ReadIdentifies the GLTF format type, typically an enum value
versionstrReadReturns the GLTF specification version supported (e.g., “2.0”)
can_exportboolReadIndicates whether the GLTF format supports exporting from the library
can_importboolReadIndicates whether the GLTF format supports importing into the library
formatsListReadLists the format identifiers or names that the class can handle

Methods

SignatureDescription
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

See Also