Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
untyped_component.inl
Go to the documentation of this file.
1
5
12
27template <typename Kind>
30 const char *brief = nullptr,
31 const char *name = nullptr);
32
untyped_component & metric(flecs::entity_t parent=0, const char *brief=nullptr, const char *name=nullptr)
Register a member as a metric.
ecs_entity_t entity_t
Entity type.
Definition c_types.hpp:21
flecs::string_view name() const
Return the entity name.
flecs::entity parent() const
Get parent of entity.
Definition impl.hpp:68
untyped_component()
Default constructor.