PickingIncludeExcludeList
Represents a list of Unity Object and DOTS Entity IDs that picking algorithms can either consider or discard.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
- Implements: IDisposable
public struct PickingIncludeExcludeList : IDisposable
Constructors
Properties
Property | Description |
|---|---|
| ExcludeEntities | An array of DOTS Entity IDs that the picking algorithm doesn't consider when it selects the nearest object. |
| ExcludeRenderers | An array of GameObjects that the picking algorithm doesn't consider when it selects the nearest object. |
| IncludeEntities | An array of DOTS Entity IDs that the picking algorithm exclusively considers when it selects the nearest object. If this is null, Unity considers all DOTS Entities in open scenes for selection. |
| IncludeRenderers | An array of GameObjects that the picking algorithm exclusively considers when it selects the nearest object. If this is null, Unity considers all GameObjects in open scenes for selection. |
Methods
Method | Description |
|---|---|
| Dispose | Dispose all the NativeArray inside the struct. |