Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
entity_view.hpp File Reference

Entity class with only readonly operations. More...

Include dependency graph for entity_view.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flecs::entity_view
 Entity view. More...
 

Detailed Description

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.