# ChunkEntityEnumerator(bool, v128, int)

> Construct a new instance.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public ChunkEntityEnumerator(bool useEnabledMask, v128 chunkEnabledMask, int chunkEntityCount)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If true, `chunkEnabledMask` 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.**** (\[v128]\(/engine/7000.0/script-reference/unity/burst/intrinsics/v128)): A 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 `useEnabledMask` is false. You can pass this value directly from the argument provided to IJobChunk.Execute.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of entities in the chunk.
