particleAngleVariation
The range, in degrees of randomized initial particle angles. Animatable.
Declaration
var particleAngleVariation: CGFloat { get set }Discussion
Setting a nonzero value for this property randomizes the effect of the particleAngle property. SceneKit randomly adjusts the initial angle of each particle by up to half the particleAngleVariation value. For example, if the particleAngle value is 90.0 degrees and the particleAngleVariation value is 30.0 degrees, newly spawned particles are randomly rotated to an angle between 75° and 105°.
The default value is 0.0 degrees, specifying no randomization.
You can animate changes to this property’s value. See Animating SceneKit Content.