CParticleEmitter2::SetFollowMapping
function · models · primitive
- Address
0x7b5d30· 76 bytes, up to0x7b5d7b- Meaning
- Stores the slope and intercept of the line through two speed and factor points
- Confidence
- verified, proof one
- Finding
- models/emission#record-to-emitter
- Test
models::remap_fit_difftest,models::remap_gate_difftest
Finding: Record to emitter in models: emission
The record's scalars land in the emitter as follows; the twinkle, spin and follow terms are used by the draw and the update.
| record | emitter |
|---|---|
+0x180, +0x184 | twinkle speed +0x1b0, visible fraction +0x1b4 |
+0x188, +0x18c | twinkle scale: minimum +0x1b8, range +0x1c0 = max − min |
+0x190 | inherited velocity scale +0x1c4 |
+0x194, +0x198 | drag +0x1e0, spin +0x18c |
+0x19c to +0x1b0 | model particle minimum and maximum vectors, +0x1c8 to +0x1dc as minimum and range |
+0x1b4, +0x1c0 | wind +0x1e4, wind time +0x1f0 |
+0x1c4 to +0x1d0 | follow mapping (s0, f0, s1, f1): slope +0x1f8, intercept +0x1f4 |
+0x1d4 | spline points, through 0x7b9a80 for type 3 |
The derivation is in the doc.
Callers 1
- CM2Model::InitializeLoaded models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.