Table of Contents

Class PointerCaptureOracle

Namespace
LansMap.Map.UI

Pointer-over-UI and keyboard-capture predicates against a live UI Toolkit panel, so map input can stand down when a widget or a text field owns the event instead.

public static class PointerCaptureOracle
Inheritance
object
PointerCaptureOracle

Methods

IsEditableText(VisualElement)

public static bool IsEditableText(VisualElement e)

Parameters

e VisualElement

Returns

bool

IsKeyboardCaptured(IPanel)

public static bool IsKeyboardCaptured(IPanel panel)

Parameters

panel IPanel

Returns

bool

IsPointerOverUi(IPanel, Vector2)

public static bool IsPointerOverUi(IPanel panel, Vector2 screenTopLeftPx)

Parameters

panel IPanel
screenTopLeftPx Vector2

Returns

bool