CM2Model::SetBaseTransform
function · models · orchestration
- Address
0x710620· 43 bytes, up to0x71064a- Signature
void __thiscall (CM2Model *this, const float *m)- Meaning
- Copies 16 words into an instance's base matrix
- 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 18
- GetFirstLoginCameraPosition glue
- BuildCharSelectModel glue
- CCamera::LoadShot uicamera
- CGGameObject_C::OnModelLoaded objectlayer
- CGUnit_C::ScaleQuestMarker objectlayer
- CGUnit_C::Mount objectlayer
- CGUnit_C::PlaceModel objectlayer
- CMissile::ArriveWithoutTarget objectlayer
- CMissile::ArriveMiss objectlayer
- CMissile::Arrive objectlayer
- CMissile::Advance objectlayer
- CMissile::StickInUnit objectlayer
- CEffect::Update objectlayer
- UpdateSpellEffectObject objectlayer
- DrawDoodadModels terrain
- CreateDoodadModel terrain
- BlizzardObject::DrawShards spell
- CParticleEmitter2::DrawModelParticle models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.