Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

allocator

The allocator to use to create the PickingIncludeExcludeEntityIdList object.

Returns

Remarks

Note: If you call this method outside of a BatchRendererGroup.OnPerformCulling callback, it returns an empty PickingIncludeExcludeEntityIdList object.