11template <
typename... Args>
19template <typename E, if_t< is_enum<E>::value > = 0>
27template <typename E, if_t< is_enum<E>::value > = 0>
35template <
typename... Args>
flecs::entity prefab(Args &&... args) const
Create a prefab.
flecs::entity entity(const char *name=nullptr) const
Create an entity that's associated with a type.
flecs::entity entity(Args &&... args) const
Create an entity.
flecs::entity entity(E value) const
Convert enum constant to entity.
flecs::id id(E value) const
Convert enum constant to entity.
flecs::entity prefab(const char *name=nullptr) const
Create a prefab that's associated with a type.
Class that wraps around a flecs::id_t.