Skip to content

screenToUiLayout

screenToUiLayout(overlay, screenGLX, screenGLY): object

Defined in: ui/util/ui-pick.ts:38

The LAYOUT point a screen pixel names, through the same matrix the overlay draws with — the same one, not an equivalent one. Two derivations agree until either gains a case, and the symptom then is a HUD that looks right and clicks somewhere else.

ScreenOverlayData

number

number

object

x: number

y: number