# GetSelectionOutlineIncludeExcludeEntityIdList(Allocator)

> Gets the selection outline PickingIncludeExcludeEntityIdList for the currently executing BatchRendererGroup.OnPerformCulling callback.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static PickingIncludeExcludeEntityIdList GetSelectionOutlineIncludeExcludeEntityIdList(Allocator allocator = Allocator.Persistent)
```

### Parameters

**** (\[Allocator]\(/engine/6000.3/script-reference/unity/collections/allocator)): The allocator to use to create the [PickingIncludeExcludeEntityIdList](/engine/6000.3/script-reference/unityeditor/pickingincludeexcludeentityidlist.md) object.

### Returns

| Type                                                                                                                  | Description                                                                                                                       |
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [PickingIncludeExcludeEntityIdList](/engine/6000.3/script-reference/unityeditor/pickingincludeexcludeentityidlist.md) | The [PickingIncludeExcludeEntityIdList](/engine/6000.3/script-reference/unityeditor/pickingincludeexcludeentityidlist.md) struct. |

### Remarks

**Note**: If you call this method outside of a [BatchRendererGroup.OnPerformCulling](/engine/6000.3/script-reference/unityengine/rendering/batchrenderergroup/onperformculling.md) callback, it returns an empty [PickingIncludeExcludeEntityIdList](/engine/6000.3/script-reference/unityeditor/pickingincludeexcludeentityidlist.md) object.
