particleSizeVariation
The range of randomized particle sizes. Animatable.
Declaration
var particleSizeVariation: CGFloat { get set }Discussion
Setting a nonzero value for this property randomizes the effect of the particleSize property. SceneKit randomly adjusts the size of each particle by up to half the particleSizeVariation value. For example, if the particleSize value is 1.0 and the particleSizeVariation value is 0.5, newly spawned particles are randomly sized between 0.75 and 1.25 units wide and high.
The default value is 0.0, specifying no randomization.
You can animate changes to this property’s value. See Animating SceneKit Content.