M2LightSetEnabled
function · models · orchestration
- Address
0x71b780· 63 bytes, up to0x71b7be- Meaning
- Enables or disables a light, linking it into or out of its scene
- Confidence
- verified, proof one
- Finding
- models/animation#pushing-animated-state
Finding: Pushing animated state in models: animation
After animating, UpdateAfterAnimate positions the instance's lights, sets its cameras' eye,
target and roll, updates its ribbons and particle emitters with the elapsed seconds, puts the
instance on the scene's draw queue, and sets the first-update gate so later frames sample only
tracks with more than one key.
The derivation is in the doc.
Callers 11
- CharSelectLightCallback glue
- CGCharacterModelBase::CGCharacterModelBase ui
- CreateGroupLights terrain
- AddMapLight terrain
- CMapLight::Enable terrain
- CMapLight::Disable terrain
- M2SceneAddLightsForPoint models
- CM2Model::~CM2Model models
- CM2Model::UpdateAfterAnimate models
- CSimpleModel::CSimpleModel ui
- Model::SetLight ui
Callees 2
- M2LightUnlink models
- M2LightLink models
Calls and jumps by a bare address, from tables/calls.tsv.