benilla-re systems structs docs

Frame::SetAlpha

function · ui · primitive

Address
0x774e90 · 293 bytes, up to 0x774fb4
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Frame method SetAlpha, its pair in the table 0x878ec0
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/visibility#alpha
Test
ui::set_alpha_scaled, ui::set_alpha_value

Finding: Alpha in ui: visibility, alpha and scale

A frame's alpha is a byte at +0xc8, 255 at construction. Setting it stores the byte and, when it changed, refreshes each region and sets every child's alpha to the same byte, recursively: a parent's alpha replaces its children's, it does not multiply them. The Lua SetAlpha clamps its number to 0 to 1, NaN going to 1, multiplies by 255 and truncates.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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