Particle System Operators/Lifespan Decay

From Valve Developer Community
< Particle System Operators
Revision as of 16:19, 9 August 2012 by Scottd (talk | contribs) (Created page with "'''Generic Operator Options''' == Lifespan Decay == Kills particles whose lifespan has elapsed. While particles have a life duration that is usually initialized upon creati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Generic Operator Options

Lifespan Decay

Kills particles whose lifespan has elapsed.

While particles have a life duration that is usually initialized upon creation, without an operator to actually destroy the particle, the life duration is just another field filled with data. Decay operators act upon various conditions in order to destroy particles.

Lifespan Decay checks against the particle's lifespan and if it has exceeded that time, kills the particle.