![]() |
Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Component reference. More...
#include <ref.hpp>
Public Member Functions | |
ref (world_t *world, entity_t entity, flecs::id_t id=0) | |
T * | operator-> () |
T * | get () |
flecs::entity | entity () const |
Component reference.
Reference to a component from a specific entity.
|
inline |
flecs::entity flecs::ref< T >::entity |
|
inline |
|
inline |