ChunkEntityEnumerator(bool, v128, int)
Construct a new instance.
Read time 1 minuteLast updated a day ago
Definition
- Type: Constructor
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public ChunkEntityEnumerator(bool useEnabledMask, v128 chunkEnabledMask, int chunkEntityCount)
Parameters
If true, contains valid data and should be used to determine which entities to include in the iteration. If false, the mask is ignored and all entities in the chunk are included. You can pass this value directly from the argument provided to IJobChunk.Execute.
chunkEnabledMaskA bitmask for all entities in the chunk. If bit N is set, entity N within this chunk should be included in the iteration. This mask is ignored if is false. You can pass this value directly from the argument provided to IJobChunk.Execute.
useEnabledMaskThe number of entities in the chunk.