![]() |
Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Untyped component reference. More...
#include <ref.hpp>
Public Member Functions | |
untyped_ref (world_t *world, entity_t entity, flecs::id_t id) | |
untyped_ref (flecs::entity entity, flecs::id_t id) | |
flecs::entity | entity () const |
Return entity associated with reference. | |
flecs::id | component () const |
Return component associated with reference. | |
void * | get () |
bool | has () |
operator bool () | |
implicit conversion to bool. | |
void * | try_get () |
Untyped component reference.
Reference to a component from a specific entity.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |