RelationExtensions.GetAllEntityRelations_TRelation_(thisEntityStore).md
December 3, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.RelationExtensions
RelationExtensions.GetAllEntityRelations(this EntityStore) Method
Obsolete: Use Pairs
Return all entity relations of the specified TRelation type.
Executes in O(1). Most efficient way to iterate all entity relations.
public static (Friflo.Engine.ECS.Entities entities,Friflo.Engine.ECS.Chunk<TRelation> relations) GetAllEntityRelations<TRelation>(this Friflo.Engine.ECS.EntityStore store)
where TRelation : struct, Friflo.Engine.ECS.IRelation, System.ValueType, System.ValueType;
Type parameters
TRelation
Parameters
store EntityStore