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
27
template
<
typename
Kind>
28
untyped_component
&
metric
(
29
flecs::entity_t
parent = 0,
30
const
char
*brief =
nullptr
,
31
const
char
*name =
nullptr
);
32
flecs::component::metric
untyped_component & metric(flecs::entity_t parent=0, const char *brief=nullptr, const char *name=nullptr)
Register a member as a metric.
flecs::entity_t
ecs_entity_t entity_t
Entity type.
Definition
c_types.hpp:21
flecs::untyped_component
Untyped component class.
Definition
component.hpp:266