# PickingIncludeExcludeEntityIdList(List<EntityId>, List<EntityId>, List<EntityId>, List<EntityId>, Allocator)

> Construct a PickingIncludeExcludeEntityIdList.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public PickingIncludeExcludeEntityIdList(List<EntityId> includeRendererEntityIds, List<EntityId> excludeRendererEntityIds, List<EntityId> includeEntityIndices, List<EntityId> excludeEntityIndices, Allocator allocator = Allocator.Persistent)
```

### Parameters

**** (\[List\<EntityId>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): [Renderer](/engine/6000.7/script-reference/unityengine/renderer.md) EntityIds to be included.**** (\[List\<EntityId>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): [Renderer](/engine/6000.7/script-reference/unityengine/renderer.md) EntityIds to be excluded.**** (\[List\<EntityId>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): DOTS Entity indices to be included.**** (\[List\<EntityId>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): DOTS Entity indices to be excluded.**** (\[Allocator]\(/engine/6000.7/script-reference/unity/collections/allocator)): Allocator to use to construct the four [NativeArray](/engine/6000.7/script-reference/unity/collections/nativearray1.md) of the [PickingIncludeExcludeEntityIdList](/engine/6000.7/script-reference/unityeditor/pickingincludeexcludeentityidlist.md).
