M2LightSetPosition
function · models · orchestration
- Address
0x71b650· 65 bytes, up to0x71b690- Meaning
- Sets a light's position and relinks a point light in its scene's grid
- 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 4
- CreateGroupLights terrain
- CMapObjDef::SetPlacement terrain
- CM2Model::UpdateAfterAnimate models
- Model::SetLight ui
Callees 2
- M2LightUnlink models
- M2LightLink models
Calls and jumps by a bare address, from tables/calls.tsv.