CParticleEmitter2::SetZSource
function · models · primitive
- Address
0x7b5cd0· 44 bytes, up to0x7b5cfb- Meaning
- Stores the z source, or 0 when its magnitude is under 0.001
- Confidence
- verified, proof one
- Finding
- models/emission#per-frame-parameters
- Test
models::set_scalar_flush_denormal_difftest
Finding: Per-frame parameters in models: emission
Each frame the model pushes every track whose key count exceeds the first-update gate into the
emitter's setters and stores the instance alpha in +0x1a8. The emitter emits while its enabled
byte is set and the instance is visible: flag 1 follows that, and the rate is the rate track's
value, or 0. A burst-mode emitter keeps flag 1 clear and requests one burst, flag 0x20, on the
frame its enabled byte and a positive rate first hold, if the instance is visible. With the
enabled byte clear and the gate set, the other parameters stay. The emitter matrix is the bone
matrix moved to the record position, times the scene matrix, turned by π/2 about z.
The derivation is in the doc.
Callers 2
- CM2Model::InitializeLoaded models
- CM2Model::UpdateAfterAnimate models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.