Global Variable


The remaining time in the particle’s life span, in seconds.


const SCNParticleProperty SCNParticlePropertyLife;


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.