s_particlePoolFactor
global · models
- Address
0x81d868· 4 bytes, up to0x81d86b- Type
const float- Meaning
- Holds 1.15, the slack factor of an emitter's particle pool
- Confidence
- verified, proof one
- Finding
- ui/modelview#particles-in-a-model-frame
Finding: Particles in a model frame in ui: Model frames, camera and paint
A particle in a model frame is drawn in eye space: the emitter installs an identity view and its quad
half-extent is added to the transformed position, so a particle's on-screen size is 2 · half · 768·√(a²+1)
FrameXML units and carries neither the model scale nor the frame scale, unlike the geometry. The
half-extent takes the emitter's scale only under runtime flag 0x200. The emitters' distance density
factor is 1 for every model frame, and particleDensity applies as in the world. The emitters receive seconds: the
milliseconds the frame added are drained from the model at its next update and multiplied by 0.001, and each
emitter's pool holds trunc(lifespan · rate · 1.15) particles.
The derivation is in the doc.