Flecs: include/flecs/addons/cpp/mixins/entity/mixin.inl Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
11template <typename... Args>
12 flecs::entity entity(Args &&... args) const;
13
19template <typename E, if_t< is_enum<E>::value > = 0>
20 flecs::id id(E value) const;
21
27template <typename E, if_t< is_enum<E>::value > = 0>
28 flecs::entity entity(E value) const;
29
35template <typename... Args>
36 flecs::entity prefab(Args &&... args) const;
37
43template <typename T>
44 flecs::entity entity(const char *name = nullptr) const;
45
51template <typename T>
52 flecs::entity prefab(const char *name = nullptr) const;
flecs::entity
Entity.
Definition entity.hpp:30
flecs::id
Class that wraps around a flecs::id_t.
Definition decl.hpp:27
flecs::world::entity
flecs::entity entity(E value) const
Convert enum constant to entity.
flecs::world::entity
flecs::entity entity(const char *name=nullptr) const
Create an entity that's associated with a type.
flecs::world::entity
flecs::entity entity(Args &&... args) const
Create an entity.
flecs::world::id
flecs::id id(E value) const
Convert enum constant to entity.
flecs::world::prefab
flecs::entity prefab(Args &&... args) const
Create a prefab.
flecs::world::prefab
flecs::entity prefab(const char *name=nullptr) const
Create a prefab that's associated with a type.