s_autoScaleHeight
global · ui
- Address
0xb4e308· 4 bytes, up to0xb4e30b- Type
uint32_t- Meaning
- Holds the window height the automatic scale was last computed for
- Confidence
- verified, proof one
- Finding
- ui/uiscale#the-automatic-scale
Finding: The automatic scale in ui: The interface scale
With useUiScale off, which is the default, UIParent is not left at 1.0. Its scale is 768 over the
window's height when the height is above 768, else 1.0; capped to 0.75·a for an aspect under 4/3; and
raised to at least 0.9. It is applied when the display mode is set and when useUiScale is turned off.
The result is 0.9 at 1920×1080 and 2560×1440 and 0.96 at 1280×800.
The derivation is in the doc.