benilla-re systems structs docs

Frame::SetBackdropColor

function · ui · primitive

Address
0x777d30 · 545 bytes, up to 0x777f50
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Frame method SetBackdropColor, its pair in the table 0x878ec0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/backdrop#the-two-colours
Test
ui::luabind_777_set_backdrop_color

Finding: The two colours in ui: the frame backdrop

The background colour applies to the background texture alone and the border colour to all eight edge textures, never the background. Each is stored in the object and set on its textures as their vertex colour. A script sets them with SetBackdropColor(r, g, b[, a]) and SetBackdropBorderColor(r, g, b[, a]): each channel is clamped to 0 to 1 with a missing alpha 1, and packed as alpha, red, green, blue bytes rounded as ×255 + 0.5. A frame without a backdrop keeps nothing, so a colour set before SetBackdrop is lost, and a new object starts white.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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