Skip to content

EntityProjection Class

Lightweight read-only list that projects entities from a cached-query tuple list. Wraps the live System.Collections.Generic.List<> reference — no copy, no extra storage.

internal sealed class EntityProjection<TTuple> : System.Collections.Generic.IReadOnlyList<Brine2D.ECS.Entity>, System.Collections.Generic.IEnumerable<Brine2D.ECS.Entity>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection<Brine2D.ECS.Entity>

Type parameters

TTuple

Inheritance System.Object → EntityProjection\<TTuple>

Implements System.Collections.Generic.IReadOnlyList<Entity>, System.Collections.Generic.IEnumerable<Entity>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection<Entity>