benilla-re systems structs docs

CM2Model::SetEmissiveColor

function · models · orchestration

Address
0x710d40 · 32 bytes, up to 0x710d5f
Signature
void __thiscall (CM2Model *this, const float *rgb)
Meaning
Copies three words into an instance's emissive colour
Confidence
verified, proof one
Finding
models/model#instance-setters

Finding: Instance setters in models: the instance

SetBaseTransform(m) copies 16 words into the base matrix +0xbc, SetAlpha(a) stores +0x180, SetDiffuseColor(c) copies three words into +0x184 and SetEmissiveColor(c) into +0x190, and SetLightingCallback(fn, arg) stores +0x3bc and +0x3c0. None waits for the shared model, defers, clamps or reaches a child: each moves words, so any float, a NaN included, lands as given. The animate pass reads the colours and the alpha (animation#instance-colours) and the lighting build calls the callback (lights#instance-lighting).

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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