PickAll(Vector2, List<VisualElement>)
Returns all elements at this position. Will not return elements with pickingMode set to PickingMode.Ignore.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
VisualElement PickAll(Vector2 point, List<VisualElement> picked)
Parameters
World coordinates.
All Visualelements overlapping this position.
Returns
Type | Description |
|---|---|
| VisualElement | Top VisualElement at the position. Null if none was found. |