Instance Property

systemSpawnedOnLiving

Another particle system to be added to the scene for each living particle in the system.

Declaration

@property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnLiving;

Discussion

Each time SceneKit renders a frame, it adds an instance of the specified particle system to the scene at the location of each rendered particle.

Use this property to simulate continuous secondary effects on particles. For example, to create a fountain of sparklers, use one particle system as the fountain, and attach another system that simulates each sparkler.

The default value of this property is nil, specifying that no additional systems are added to the scene when rendering particles.

See Also

Spawning Additional Particle Systems

systemSpawnedOnCollision

Another particle system to be added to the scene when a particle collides with scene geometry.

systemSpawnedOnDying

Another particle system to be added to the scene when a particle dies.