Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Entity operations. More...
Classes | |
struct | flecs::entity |
Entity. More... | |
struct | flecs::entity_view |
Entity view. More... | |
struct | flecs::entity_builder< Self > |
Entity builder. More... | |
Functions | |
template<typename... Args> | |
flecs::entity | flecs::world::entity (Args &&... args) const |
Create an entity. | |
template<typename E , if_t< is_enum< E >::value > = 0> | |
flecs::id | flecs::world::id (E value) const |
Convert enum constant to entity. | |
template<typename E , if_t< is_enum< E >::value > = 0> | |
flecs::entity | flecs::world::entity (E value) const |
Convert enum constant to entity. | |
template<typename... Args> | |
flecs::entity | flecs::world::prefab (Args &&... args) const |
Create a prefab. | |
template<typename T > | |
flecs::entity | flecs::world::entity (const char *name=nullptr) const |
Create an entity that's associated with a type. | |
template<typename T > | |
flecs::entity | flecs::world::prefab (const char *name=nullptr) const |
Create a prefab that's associated with a type. | |
template<typename E > | |
E | flecs::entity_view::to_constant () const |
Convert entity to enum constant. | |
template<typename E , if_t< is_enum< E >::value > = 0> | |
flecs::entity | flecs::world::to_entity (E constant) const |
Convert enum constant to entity. | |
Entity operations.