spreadingAngle
The range, in degrees, of randomized initial particle directions. Animatable.
Declaration
var spreadingAngle: CGFloat { get set }Discussion
Setting a nonzero value for this property randomizes the direction specified by the emittingDirection or birthDirection property. For example, at the default value of 0.0 degrees, all particles emit in the same direction. Increasing the spreading angle to 30.0 degrees allows particles to emit in any direction within a space shaped like a cone whose central angle is 30°.
This property has no effect if the birthDirection property value is SCNParticleBirthDirection.random.
You can animate changes to this property’s value. See Animating SceneKit Content.