CParticleEmitter2::CParticleEmitter2
function · models · primitive
- Address
0x7b11b0· 699 bytes, up to0x7b146a- Meaning
- Constructs a particle emitter: seeded random state, default gradients, base vtable
- Confidence
- inferred
- Finding
- models/particles#emitter-classes
Finding: Emitter classes in models: particles
A model emitter is built by its shape's constructor: the base constructor, zeroed shape fields and the shape's vtable. The three vtables share the base's first slots and differ in the spawn slot, the clone and deleting destructor, four shape setters and the rate setter.
| slot | base 0x81d83c | plane 0x81d888 | sphere 0x81d8b4 | spline 0x81d8e0 |
|---|---|---|---|---|
| 0 | 0x7b1dd0 | same | same | same |
| 1 | 0x7b2420 | same | same | same |
| 2 | 0x7b22b0 | 0x7b8890 | 0x7b8d70 | 0x7b9500 |
| 4 | pure | 0x7b87b0 | 0x7b8c90 | 0x7b9260 |
| 5 | 0x7b1470 | 0x7b87f0 | 0x7b8cd0 | 0x7b92a0 |
| 6 to 9 | pure | 0x7b8c10 to 0x7b8c40 | 0x7b9180 to 0x7b91d0 | 0x7b9970 to 0x7b9a50 |
| 10 | 0x7b4bf0 | same | same | 0x7b9a60 |
The derivation is in the doc.
Callers 3
- PlaneEmitterConstruct models
- SphereEmitterConstruct models
- SplineEmitterConstruct models
Callees 3
- NTempest::CRndSeed::SetSeed random
- _rand crt
- ParticleGradientConstruct models
Calls and jumps by a bare address, from tables/calls.tsv.