# PickingIncludeExcludeList(List<int>, List<int>, List<int>, List<int>, Allocator)

> Construct a PickingIncludeExcludeList.

## Definition

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

> **Warning:**
>
> **Removed.** PickingIncludeExcludeList is deprecated. Use PickingIncludeExcludeEntityIdList instead.

```csharp
public PickingIncludeExcludeList(List<int> includeRendererInstanceIDs, List<int> excludeRendererInstanceIDs, List<int> includeEntityIndices, List<int> excludeEntityIndices, Allocator allocator = Allocator.Persistent)
```

### Parameters

**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): [Renderer](/engine/6000.7/script-reference/unityengine/renderer.md) instanceIDs to be included.**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): [Renderer](/engine/6000.7/script-reference/unityengine/renderer.md) instanceIDs to be excluded.**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): DOTS Entity indices to be included.**** (\[List\<int>]\(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 [PickingIncludeExcludeList](/engine/6000.7/script-reference/unityeditor/pickingincludeexcludelist.md).
