benilla-re systems structs docs

Frame::GetAlpha

function · ui · primitive

Address
0x774dc0 · 207 bytes, up to 0x774e8e
Signature
int __fastcall (lua_State *L)
Meaning
Returns the frame alpha as a number from 0 to 1
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/framemethods#types-scripts-and-identity
Test
ui::luabind_774dc0_get_alpha

Finding: Types, scripts and identity in ui: Frame method contracts

IsFrameType("type") asks the frame's virtual slot +0x18 whether it is of the named type and returns 1 or nil; without a string it raises Usage: %s:IsObjectType("TYPE") with the frame's name or <unnamed>. HasScript("type") asks slot +0xc whether the frame has that script and returns 1 or nil; without a string it raises Usage: %s:HasScript("type"). GetID() returns the integer at +0xb0 and SetID(n) stores the truncated n there, raising Usage: %s:SetID(ID) for a non-number. GetScale() returns the float at +0xb8, GetEffectiveScale() the layout scale at +0x7c, and GetAlpha() the byte at +0xc8 times 1/255.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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