|
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 | |
| template<typename ActorT = StaticMeshActor> | |
| static std::vector< ActorT * > | 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 15 of file GltfSpawner.h.
|
inlinestatic |
Definition at line 18 of file GltfSpawner.h.
References Engine::Entities::Scene::spawnAll().