GltfFormat
Overview
GltfFormat เป็นคลาสใน Aspose.3D FOSS สําหรับ Python.
GltfFormat.create_load_options creates a GLTF-specific load options object for importing scenes.
หมวดนี้ให้ 2 วิธีในการทํางานกับวัตถุ GltfFormat ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: create_load_options, create_save_options. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: can_export, can_import, content_type, extension, extensions, file_format_type,และอีก 2 ตัว.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
extension | str | Read | ได้รับการขยายเวลา. |
extensions | List[str] | Read | ได้รับการขยายตัว. |
content_type | str | Read | ได้รับชนิดของเนื้อหา. |
file_format_type | `` | Read | ได้รับรูปแบบไฟล์ชนิด. |
version | str | Read | ได้รับการฉบับ. |
can_export | bool | Read | ได้รับการส่งออกของกระป๋อง. |
can_import | bool | Read | ได้รับการนําเข้าของกระป๋อง. |
formats | List | Read | ได้รูปแบบ. |
Methods
| Signature | Description |
|---|---|
create_load_options() | สร้างตัวเลือกการอัตราบรรจุ GLTF เฉพาะสําหรับนําเข้าภาพถ่าย |
create_save_options() | สร้างวัตถุ Save Options ของ GLTF เพื่อส่งออกฉาก |