FbxImporter
Overview
FbxImporter reads a FBX (.fbx) file or binary buffer and reconstructs its scene graph as Aspose.3D for TypeScript objects including nodes, meshes, materials, and animations. It is invoked automatically by Scene.open() when the source file has the .fbx extension or when a FbxLoadOptions instance is provided explicitly. Pass FbxLoadOptions to control which node hierarchies are loaded, how materials are resolved, and whether animation tracks are included during import.
Methods
| Signature | Description |
|---|---|
constructor() | Creates a new instance of the FBX importer |
supportsFormat(fileFormat: FileFormat) → boolean | |
open(filename: string, options: LoadOptions) → Scene | Loads a scene from a file using the specified LoadOptions |
openFromStream(stream: any, options: LoadOptions) → Scene | Loads a scene from a data stream using the specified LoadOptions |
importScene(scene: Scene, stream: any, _options: LoadOptions) | Imports FBX data from a stream into an existing Scene with given options |