Instance Method

addParticleSystem:

Attaches a particle system to the node.

Declaration

- (void)addParticleSystem:(SCNParticleSystem *)system;

Parameters

system

A particle system.

Discussion

When attached to a node, a particle system’s emitter location follows that node as it moves through the scene. To instead attach a particle system to a location in the scene’s world coordinate space, use the corresponding method on SCNScene.

For details on particle systems, see SCNParticleSystem.

See Also

Working with Particle Systems

particleSystems

The particle systems attached to the node.

- removeParticleSystem:

Removes a particle system attached to the node.

- removeAllParticleSystems

Removes any particle systems directly attached to the node.