![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Entity class with only read-only operations. More...
#include "entity_component_tuple.hpp"#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 read-only operations.
This class provides read-only 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.