Frame::SetScale
function · ui · orchestration
- Address
0x775140· 320 bytes, up to0x77527f- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Frame method SetScale, its pair in the table 0x878ec0
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/visibility#scale
Finding: Scale in ui: visibility, alpha and scale
A frame keeps its own scale at +0xb8 and its parent's effective scale at +0xbc, both 1.0 at
construction. Setting either ignores a change below 2⁻²² unless forced, then recomputes the
effective scale, +0xbc · +0xb8 rounded to a float. When that differs from the layout scale by
2⁻²² or more, or when forced, it becomes the layout scale of the frame unless it is exactly 0, which the
layout setter refuses and leaves the layout scale as it was; it is passed as the layout scale of each region, and as the
parent scale of each child, 0 included.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- SetFrameScale ui
Calls and jumps by a bare address, from tables/calls.tsv.