NextEntityIndex(out int)
Iterates through the given ArchetypeChunk, retrieving the index of the next available entity as defined by the mask info provided to the constructor.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
NextEntityIndex(int)
public bool NextEntityIndex(out int nextIndex)
Parameters
The index of the next available entity in the ArchetypeChunk, or -1 when the function returns false.
Returns
Type | Description |
|---|---|
| bool | Whether the iteration should continue. |