The index into the entities array. A world cannot have two entities with the same index at the same time. The NONE entity has index=0 and version=0.
You should not need to access the index directly except in specific cases such as making by-value copies of entities, or inspection during debugging.
Note that entity index is re-used. This means that once an Entity with a specific index is destroyed, its index might be returned for a newly created entity. However, the combination of index + version is always unique.
The version of this entity reference. The NONE entity has version=0 and index=0. You should not need to access the index directly except in specific cases such as inspection during debugging. Not that the combination of version + index is always unique.
Check if this entity is NONE.
True if the entity is NONE, false otherwise.
Generated using TypeDoc
An entity is a lightweight reference to a set of components. Entities are one of the foundations of the Entity Component System architecture, and are used in almost all operations. For operations that involve an entity, see ut.World.