文档

Unity Engine

Unity Engine

GetSelectionOutlineIncludeExcludeEntityIdList(Allocator)

Gets the selection outline PickingIncludeExcludeEntityIdList for the currently executing BatchRendererGroup.OnPerformCulling callback.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.