Finality Engine
Loading...
Searching...
No Matches
ModelAsset.h File Reference

Loads imported model data and instantiates preserved model hierarchies. More...

#include <Core/Core.h>
#include "MeshImporter.h"
#include "ModelImportOptions.h"
#include <filesystem>
#include <map>

Go to the source code of this file.

Classes

struct  FINALITY::ModelMesh
 One imported submesh, with geometry and an index into ModelData::Materials. More...
struct  FINALITY::ModelMaterial
 Imported material appearance, texture reference and extracted asset mapping. More...
struct  FINALITY::ModelNode
 One hierarchy node with a parent index, local transform and attached mesh indices. More...
struct  FINALITY::ModelData
 Imported nodes, submeshes, materials, dependencies, diagnostics and model-space bounds. More...
class  FINALITY::ModelAsset
 Loads imported model data and instantiates preserved model hierarchies. More...

Namespaces

namespace  FINALITY

Detailed Description

Loads imported model data and instantiates preserved model hierarchies.

ModelData retains nodes, submeshes, material slots, dependencies, diagnostics and bounds. ModelAsset applies import settings and supplies both scene instantiation and preview render packets.

Usage
Configure engine assets first. Load a model reference, inspect diagnostics, then Instantiate into a scene. SaveImportOptions persists per-model adjustments; ExtractMaterials writes editable material assets.

Definition in file ModelAsset.h.