life
The remaining time in the particle’s life span, in seconds.
Declaration
static let life: SCNParticleSystem.ParticlePropertyDiscussion
This property’s value is a floating-point scalar (an NSNumber object for particle property controllers, or a single float value for particle event or modifier blocks).
SceneKit initializes this value using the particle system’s particleLifeSpan and particleLifeSpanVariation properties, then decreases the value when rendering each frame. When the life value reaches 0.0, the particle dies (that is, SceneKit no longer simulates or renders it). Particle property controllers can use this property’s value as an input, but not change it.