기술 자료

Unity Engine

Unity Engine

GetSelectionOutlineIncludeExcludeEntityIdList(Allocator)

Gets the selection outline PickingIncludeExcludeEntityIdList for the currently executing BatchRendererGroup.OnPerformCulling callback.
읽는 시간 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.