Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
world.inl
Go to the documentation of this file.
1
14flecs::cursor cursor(flecs::entity_t tid, void *ptr) {
15 return flecs::cursor(world_, tid, ptr);
16}
17
19template <typename T>
21 flecs::entity_t tid = _::type<T>::id(world_);
22 return cursor(tid, ptr);
23}
24
27
29flecs::entity array(flecs::entity_t elem_id, int32_t array_count);
30
32template <typename T>
33flecs::entity array(int32_t array_count);
34
36flecs::entity vector(flecs::entity_t elem_id);
37
39template <typename T>
41
ecs_primitive_kind_t
Primitive type kinds supported by meta addon.
Definition meta.h:172
flecs::entity primitive(flecs::meta::primitive_kind_t kind)
Create primitive type.
flecs::entity array(flecs::entity_t elem_id, int32_t array_count)
Create array type.
flecs::entity array(int32_t array_count)
Create array type.
flecs::entity vector(flecs::entity_t elem_id)
Create vector type.
flecs::cursor cursor(flecs::entity_t tid, void *ptr)
Return meta cursor to value.
Definition world.inl:14
flecs::entity vector()
Create vector type.
flecs::cursor cursor(void *ptr)
Return meta cursor to value.
Definition world.inl:20
Class for reading/writing dynamic values.
Definition cursor.hpp:22
Entity.
Definition entity.hpp:30