CRibbonEmitter::SetColor
function · models · primitive
- Address
0x7b7a80· 142 bytes, up to0x7b7b0d- Meaning
- Packs three floats into the colour word and keeps its alpha byte
- Confidence
- verified, proof one
- Finding
- models/ribbons#ribbon-parameters
- Test
models::ribbon_color_pack_difftest
Finding: Ribbon parameters in models: ribbons
Each frame the model passes the ribbon its colour and alpha, packed into bytes as x·255 + 0.5,
its heights above and below the bone, its texture slot and its visibility, then places it at its
bone and updates it with the elapsed seconds.
The derivation is in the doc.
Callers 1
- CM2Model::UpdateAfterAnimate models
Callees 1
- __ftol crt
Calls and jumps by a bare address, from tables/calls.tsv.