GetPickingIncludeExcludeEntityIdList(Allocator)
Gets the picking PickingIncludeExcludeEntityIdList for the currently executing BatchRendererGroup.OnPerformCulling callback.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static PickingIncludeExcludeEntityIdList GetPickingIncludeExcludeEntityIdList(Allocator allocator = Allocator.Persistent)
Parameters
The allocator to use to create the PickingIncludeExcludeEntityIdList object.
Returns
Type | Description |
|---|---|
| PickingIncludeExcludeEntityIdList | The PickingIncludeExcludeEntityIdList struct. |
Remarks
Note: If you call this method outside of a BatchRendererGroup.OnPerformCulling callback, it returns an empty PickingIncludeExcludeEntityIdList object.