benilla-re systems structs docs

GetUiParentScale

function · ui · orchestration

Address
0x494590 · 20 bytes, up to 0x4945a3
Signature
float __cdecl ()
Meaning
Returns UIParent's effective scale, or 1.0 without UIParent
Confidence
verified, proof one
Finding
ui/uiscale#reading-the-scale
Test
ui::luabind_48b_screen_getters, ui::ui_screen_size_whole

Finding: Reading the scale in ui: The interface scale

UIParent's effective scale is returned by one reader that the screen-size functions use; it is 1.0 when UIParent does not exist. GetScreenHeight() is about 768 over that scale at every aspect and GetScreenWidth() about 768·a over it, the applied uiScale or the automatic scale; the exact float steps are in methods#screen-size-and-cursor-globals.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.