Enumeration

SCNParticleEvent

Significant events in the life spans of simulate particles, used by the handleEvent:forProperties:withBlock: method.

Declaration

typedef enum SCNParticleEvent : NSInteger {
    ...
} SCNParticleEvent;

Topics

Constants

SCNParticleEventBirth

Occurs when new particles spawn.

SCNParticleEventDeath

Occurs when particles reach the end of their life span.

SCNParticleEventCollision

Occurs when particles collide with scene geometry.

See Also

Modifying Particles in Response to Particle System Events

- handleEvent:forProperties:withBlock:

Adds a block that modifies particle properties, to be executed at a specified event in the lifetimes of particles in the system.

SCNParticleEventBlock

The signature for blocks called by SceneKit in response to significant events during particle simulation, used by the handleEvent:forProperties:withBlock: method.