M2LightSetDirection
function · models · primitive
- Address
0x71b6a0· 114 bytes, up to0x71b711- Meaning
- Sets a light's direction, normalized when its length exceeds 2.384186e-7
- Confidence
- verified, proof one
- Finding
- models/animation#pushing-animated-state
- Test
models::m2_light_set_direction_difftest
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 6
- CharSelectLightCallback glue
- CGCharacterModelBase::CGCharacterModelBase ui
- CWorld::UpdateSkyAndFog terrain
- AddMapLight terrain
- CM2Model::UpdateAfterAnimate models
- Model::SetLight ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.