Contents

imageSequenceFrameRate

The rate, in frames per second, of particle image animation. Animatable.

Declaration

var imageSequenceFrameRate: CGFloat { get set }

Discussion

To specify a sequence of frames for animating each particle, arrange the frames as a grid in a single image, as shown in Figure 1. Then use the imageSequenceRowCount and imageSequenceColumnCount properties to specify the arrangement of frames in the images, and this property to define animation speed.

The default value is 0.0 frames per second, specifying no animation.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Animating Particle Images