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.
Parameters
Section titled “Parameters”overlay
Section titled “overlay”screenGLX
Section titled “screenGLX”number
screenGLY
Section titled “screenGLY”number
Returns
Section titled “Returns”object
x:
number
y:
number