entity
| Type | Struct |
| Namespace | conjure::ecs |
| Include File Path | engine/include/conjure/ecs/entity.h |
| Source File Path | N/A |
| API ↗ | Entities and components |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | generation | u32 | 0 | |
| public | index | u32 | 0 |
Functions
Public
archive_local
archive_localAn archive-local reference to entry localIndex.
is_archive_local
is_archive_local[[nodiscard]] constexpr bool is_archive_local() const noexcept;True when this handle is a local index inside an entity_archive.
is_null
is_null[[nodiscard]] constexpr bool is_null() const noexcept;True for NULL_ENTITY (index 0, generation 0).
to_u64
to_u64[[nodiscard]] constexpr u64 to_u64() const noexcept;(generation << 32) | index, the packed form handed to C#.