CScriptRegion::GetVertexColor
function · ui · orchestration
- Address
0x77f8c0· 77 bytes, up to0x77f90c- Meaning
- Copies the vertex colour, or opaque white when it holds no entry
- Confidence
- verified, proof one
- Finding
- ui/texture#two-colour-stores
Finding: Two colour stores in ui: texture colour and drawing
A texture has two colour inputs that never overwrite each other: the image at +0xcc, and a vertex colour that
multiplies it. <Color> and SetTexture(r, g, b, a) replace the image with a solid one; SetVertexColor and
SetAlpha write the vertex colour. GetVertexColor answers opaque white unless the vertex colour holds exactly one entry, so a
vertex colour of two or more entries, a gradient, reads back white as well as an empty one.
The derivation is in the doc.
Callers 9
- StatusBar::GetStatusBarColor ui
- Texture::GetVertexColor ui
- Texture::SetVertexColor ui
- Texture::SetAlpha ui
- Texture::GetAlpha ui
- FontString::SetVertexColor ui
- FontString::GetAlpha ui
- FontString::SetAlpha ui
- FontString::GetTextColor ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.