Type Method

particleSystem

Creates a new particle system.

Declaration

+ (instancetype)particleSystem;

Return Value

A new particle system object with default values for all of its properties.

Discussion

A particle system with default values for all of its properties renders nothing when added to a scene.

To more easily build a new visual effect, use Xcode. Choose SceneKit Particle System in the New File window, then choose one of the preconfigured particle system templates for fire, clouds, and other common visual effects. You can then modify the template particle system to create an effect appropriate to your project. To load a particle system file created in Xcode, see the particleSystemNamed:inDirectory: method.

See Also

Creating a Particle System

+ particleSystemNamed:inDirectory:

Loads a particle system from a file in the app’s bundle resources.