Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSelectionOutlineIncludeExcludeList(Allocator)

Gets the selection outline PickingIncludeExcludeList for the currently executing BatchRendererGroup.OnPerformCulling callback.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. Use GetSelectionOutlineIncludeExcludeEntityIdList instead. This method will be removed in a future version.
public static PickingIncludeExcludeList GetSelectionOutlineIncludeExcludeList(Allocator allocator = Allocator.Persistent)

Parameters

allocator

The allocator to use to create the PickingIncludeExcludeList object.

Returns

Remarks

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