Appearance
anim-format (runtime format) / evaluateParticles
Function: evaluateParticles()
ts
function evaluateParticles(
cfg,
t,
out?,
poseAt?
): ParticleFrame;Every particle alive at emitter time t (seconds; fractions for force smooth sub-frames). Local space = positions in the emitter's own space; world space = in its parent's, using poseAt(birth time) for where the emitter was when each particle left it (default: the identity, i.e. the emitter never moved).
Parameters
| Parameter | Type |
|---|---|
cfg | ParticleConfig |
t | number |
out? | ParticleFrame |
poseAt? | EmitterPoseAt |