|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Utility class for spawning GLTF meshes into a scene. More...
#include <GltfSpawner.h>
Static Public Member Functions | |
| static std::vector< StaticMeshActor * > | spawnAll (Scene *scene, const std::filesystem::path &gltfPath) |
Utility class for spawning GLTF meshes into a scene.
Can be used from Scene::loadContent() or from within Actor classes to spawn assemblies of meshes (e.g., a turret with multiple moving parts).
Definition at line 18 of file GltfSpawner.h.
|
static |
Definition at line 47 of file GltfSpawner.cpp.
References EngineCore::Scene::getAssetManager(), EngineCore::AssetManager::loadEcsModel(), EngineCore::GltfLoader::loadMetadataOnly(), and EngineCore::Scene::spawnActor().