benilla-re systems structs docs

CSimpleFrame::SetAlpha

function · ui · orchestration

Address
0x76a690 · 128 bytes, up to 0x76a70f
Meaning
Stores the alpha byte and, on a change, refreshes the regions and gives every child the same byte
Confidence
verified, proof two
Finding
ui/visibility#alpha

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 1

Callees 0

None by a direct call or jump.

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