Flecs
v4.1
A fast entity component system (ECS) for C & C++
Toggle main menu visibility
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
5
11
template
<
typename
... Args>
12
flecs::entity
entity
(Args &&... args)
const
;
13
19
template <typename E, if_t< is_enum<E>::value > = 0>
20
flecs::id
id
(E value)
const
;
21
27
template <typename E, if_t< is_enum<E>::value > = 0>
28
flecs::entity
entity
(E value)
const
;
29
35
template
<
typename
... Args>
36
flecs::entity
prefab
(Args &&... args)
const
;
37
43
template
<
typename
T>
44
flecs::entity
entity
(
const
char
*name =
nullptr
)
const
;
45
51
template
<
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 an enum constant to an 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 an enum constant to an 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.