Global Variable

SCNParticlePropertyFrame

The current frame index of the particle’s image animation.

Declaration

const SCNParticleProperty SCNParticlePropertyFrame;

Discussion

This property’s value is a floating-point scalar (an NSNumber object for particle property controllers, or a single float value for particle event or modifier blocks). For details on particle image animation, see the particleImage property.

The particle system’s imageSequenceInitialFrame and imageSequenceInitialFrameVariation properties determine the initial frame for each particle.