IPanel.PickAll

Declaration

public UIElements.VisualElement PickAll(Vector2 point, List<VisualElement> picked);

Parameters

point World coordinates.
picked If not null, the list is cleared and filled with all VisualElements that overlap the specified point.

Returns

VisualElement The top-most VisualElement overlapping the provided point. Null if none was found.

Description

Finds all VisualElements overlapping the provided point.

It doesn't return the following:

Additional resources: VisualElement.visible, IStyle.display, VisualElement.pickingMode


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