ComponentPool.GetEntityIdSnapshot() Method
Definition¶
Namespace: Brine2D.ECS
Creates an ArrayPool snapshot of entity IDs only, for type-erased iteration. MUST call ReturnEntityIdSnapshot(long[]) in a finally block.
public (long[] EntityIds,int Length) GetEntityIdSnapshot();