GltfImporter
Přehled
GltfImporter je třída v Aspose.3d pro Typescript. Dědici: GltfImporter, Importer.
GltfImporter.constructor creates a new instance of the GLTF importer.
Vlastnosti
| Název: | Typ: | Přístup | Popis: |
|---|---|---|---|
json | : GltfData | Čtěte. | Udržuje analyzovanou JSON strukturu souboru GLTF jako objekt GltfData |
binary | `: Buffer | null` | Čtěte. |
Metody
| Podpis: | Popis: |
|---|---|
constructor() | Vytvoří se nová instanci dovozce GLTF. |
supportsFormat(fileFormat: FileFormat) → boolean | |
| `importScene(scene: Scene, stream: Buffer | Uint8Array, options: LoadOptions)` |