EntityRelations_TRelation_.Entities.md
December 3, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.EntityRelations<TRelation>
EntityRelations.Entities Property
Returns a collection of entities having one or more relation.
Executes in O(1).
public Friflo.Engine.ECS.EntityReadOnlyCollection Entities { get; }
Property Value
Remarks
- The returned collection changes when relations are updated, removed or added.
- To get all entities including their relations (the cartesian product aka CROSS JOIN) use
Pairs