addParticleSystem(_:)
Attaches a particle system to the node.
Declaration
func addParticleSystem(_ system: SCNParticleSystem)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.