17 template<
typename ActorT = StaticMeshActor>
18 static std::vector<ActorT*>
spawnAll(
Scene * scene,
const std::filesystem::path & gltfPath )
23 template<
typename ActorT = StaticMeshActor>
Utility class for spawning GLTF meshes into a scene.
static std::vector< ActorT * > spawnAll(Scene *scene, const std::filesystem::path &gltfPath)
static std::vector< ActorT * > spawnAll(Scene *scene, Assets::GltfHandle gltf)
A scene is the overarching structure which can spawn, contain and destroy actors or entities.
static std::vector< ActorT * > spawnAll(Scene *scene, const std::filesystem::path &gltfPath)
Spawns all meshes from a GLTF file into the scene.
AssetHandle< GltfHandleTag > GltfHandle