|
Monad Engine da02fba2
> Undercity Codex_
|
Assimp-backed model loader. Handles FBX / glTF / OBJ. More...
#include <string>
Include dependency graph for ModelImporter.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mnd::ModelImporter |
Namespaces | |
| namespace | mnd |
Assimp-backed model loader. Handles FBX / glTF / OBJ.
Import() parses the asset, builds Mesh + Material + Skeleton + SkeletalAnimationClip data, and constructs a GameObject hierarchy mirroring the file's node tree.
Static meshes get a MeshComponent. Skinned meshes get a SkinnedMeshComponent and the model root gets an AnimationComponent carrying the skeleton + clips, wired as the palette source for every SkinnedMeshComponent in the hierarchy.
The scene file's "type" field can be "fbx", "model", or any future extension Assimp supports — the actual format is detected by Assimp.
Definition in file ModelImporter.h.