语言English
  • C#

HandleUtility.GetSelectionOutlineIncludeExcludeList

声明

public static PickingIncludeExcludeList GetSelectionOutlineIncludeExcludeList(Unity.Collections.Allocator allocator);

参数

allocator 用于创建 PickingIncludeExcludeList 对象的分配器。

返回值

PickingIncludeExcludeList PickingIncludeExcludeList 结构体。

描述

获取当前正在执行的 BatchRendererGroup.OnPerformCulling 回调的选择轮廓 PickingIncludeExcludeList

注意:如果您在 BatchRendererGroup.OnPerformCulling 回调之外调用此方法,则它会返回一个空的 PickingIncludeExcludeList 对象。


Did you find this page useful? Please give it a rating: