|
|
| Scene (SceneComponentDefaults defaults=SceneComponentDefaults::Engine) |
|
EntityId | CreateEntity () |
|
void | DestroyEntity (EntityId entity_id) |
|
bool | IsAlive (EntityId entity_id) const |
|
std::vector< EntityId > | GetEntities () const |
|
template<typename T, typename... Args> |
| T & | AddComponent (EntityId entity_id, Args &&... args) |
|
template<typename T> |
| void | RemoveComponent (EntityId entity_id) |
|
template<typename T> |
| bool | HasComponent (EntityId entity_id) const |
|
template<typename T> |
| void | RegisterComponent (std::string_view serialization_name) |
|
void | RegisterComponentTypesFrom (const Scene &source) |
|
std::vector< std::string > | GetRegisteredComponentNames () const |
|
template<typename T> |
| T & | GetComponent (EntityId entity_id) |
|
template<typename T> |
| const T & | GetComponent (EntityId entity_id) const |
|
template<typename T> |
| T * | TryGetComponent (EntityId entity_id) |
|
template<typename T> |
| const T * | TryGetComponent (EntityId entity_id) const |
|
template<typename T> |
| const SparseSet< T > & | GetComponentSet () const |
|
template<typename T, typename Func> |
| void | Each (Func &&func) |
|
template<typename T, typename Func> |
| void | Each (Func &&func) const |
|
SceneEnvironmentSettings & | GetEnvironmentSettings () noexcept |
|
const SceneEnvironmentSettings & | GetEnvironmentSettings () const noexcept |
|
void | SetEnvironmentSettings (SceneEnvironmentSettings settings) noexcept |
|
uint64_t | GetMutationGeneration () const noexcept |
|
template<typename T, typename U, typename Func> |
| void | Each (Func &&func) |
|
template<typename T, typename U, typename Func> |
| void | Each (Func &&func) const |