Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Entity class with only readonly operations. More...
#include "mixins/json/entity_view.inl"
#include "mixins/doc/entity_view.inl"
#include "mixins/alerts/entity_view.inl"
#include "mixins/enum/entity_view.inl"
#include "mixins/event/entity_view.inl"
Go to the source code of this file.
Classes | |
struct | flecs::entity_view |
Entity view. More... | |
Entity class with only readonly operations.
This class provides readonly access to entities. Using this class to store entities in components ensures valid handles, as this class will always store the actual world vs. a stage. The constructors of this class will never create a new entity.
To obtain a mutable handle to the entity, use the "mut" function.
Definition in file entity_view.hpp.