Scene class.
More...
#include <Scene.h>
◆ Scene()
| Raito::ECS::Scene::Scene |
( |
| ) |
|
|
default |
◆ ~Scene()
| Raito::ECS::Scene::~Scene |
( |
| ) |
|
|
default |
◆ CreateEntity()
| Entity Raito::ECS::Scene::CreateEntity |
( |
const std::string & | name | ) |
|
Entity creation function
- Parameters
-
| name | Name of the created entity |
- Returns
- The created entity
◆ DestroyEntity()
| void Raito::ECS::Scene::DestroyEntity |
( |
Entity | entity | ) |
|
Entity destruction function
- Parameters
-
| entity | The entity being destroyed |
◆ DuplicateEntity()
Duplicate entity function
- Parameters
-
| entity | The entity to duplicate |
- Returns
- The duplicated entity
◆ FindEntityByName()
| Entity Raito::ECS::Scene::FindEntityByName |
( |
std::string_view | name | ) |
|
◆ GetAllEntitiesWith()
template<typename... Components>
| auto Raito::ECS::Scene::GetAllEntitiesWith |
( |
| ) |
const |
|
inline |
Templated function for all the entities with the components given
- Returns
- A view of all the entities with the given components
◆ GetEntityByUUID()
| Entity Raito::ECS::Scene::GetEntityByUUID |
( |
UUID | uuid | ) |
|
◆ Editor::Hierarchy
| friend class Editor::Hierarchy |
|
friend |
◆ Entity
The documentation for this class was generated from the following files: