ParticleSystemNumberOfActiveParticles Property |
Namespace: DigitalRune.Particles
ParticleStartIndex points to the first active particle in the particle parameter arrays. NumberOfActiveParticles counts how many particles are active.
Usually, NumberOfActiveParticles is equal to NumberOfLivingParticles particles because all particles have the same maximal "Lifetime". Only if a custom particle effector randomly kills particles (by setting the particle parameter "NormalizedAge" to a value equal to or greater than 1) or if "Lifetime" is a varying particle parameter, then NumberOfLivingParticles can be less than NumberOfActiveParticles; that means that some particles are active but have already died.