Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSelectionOutlineIncludeExcludeEntityIdList(Allocator)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static PickingIncludeExcludeEntityIdList GetSelectionOutlineIncludeExcludeEntityIdList(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.