文档

Unity Engine


User Manual

Script Reference

Unity Engine


PickingIncludeExcludeList(List<int>, List<int>, List<int>, List<int>, Allocator)

Construct a PickingIncludeExcludeList.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Removed. PickingIncludeExcludeList is deprecated. Use PickingIncludeExcludeEntityIdList instead.
public PickingIncludeExcludeList(List<int> includeRendererInstanceIDs, List<int> excludeRendererInstanceIDs, List<int> includeEntityIndices, List<int> excludeEntityIndices, Allocator allocator = Allocator.Persistent)

Parameters

includeRendererInstanceIDs

Renderer instanceIDs to be included.

excludeRendererInstanceIDs

Renderer instanceIDs to be excluded.

includeEntityIndices

DOTS Entity indices to be included.

excludeEntityIndices

DOTS Entity indices to be excluded.

allocator

Allocator to use to construct the four NativeArray of the PickingIncludeExcludeList.