|
Finality Engine
|
Loads imported model data and instantiates preserved model hierarchies. More...
#include <ModelAsset.h>
Static Public Member Functions | |
| static void | Configure (const std::filesystem::path &engineAssets, const ModelImportOptions &options={}) |
| static std::shared_ptr< ModelData > | Load (const std::string &reference, bool force=false) |
| static bool | Import (const std::filesystem::path &source, const std::filesystem::path &target) |
| static void | MakePortable (const std::filesystem::path &path, const std::filesystem::path &sourceDirectory={}) |
| static std::shared_ptr< Mesh > | LoadMesh (const std::string &reference) |
| static Entity | Instantiate (Scene &scene, const std::string &reference) |
| static std::vector< RenderPacket > | BuildPreview (const std::string &reference) |
| static void | Clear () |
| static bool | Supports (const std::filesystem::path &path) |
| static ModelImportOptions | GetImportOptions (const std::string &reference) |
| static bool | SaveImportOptions (const std::string &reference, const ModelImportOptions &options, std::string &error) |
| static bool | ExtractMaterials (const std::string &reference, const std::filesystem::path &directory, std::string &error) |
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.
Definition at line 74 of file ModelAsset.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |