Method NextEntityIndex
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.
Declaration
public bool NextEntityIndex(out int nextIndex)
Parameters
Type | Name | Description |
---|---|---|
int | nextIndex | 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. |