Instance Property

particleAngle

The rotation angle, in degrees, of newly spawned particles. Animatable.

Declaration

@property(nonatomic) CGFloat particleAngle;

Discussion

A particle’s angle (or orientation) is independent from its direction of motion. For example, a smoke effect may use a small image of a cloud for each particle, which stays at the same angle as the smoke rises, but a snow effect may use an image that flips and rotates as each snowflake falls. The orientationMode property determines whether and how particles are allowed to rotate, and the particleAngle and particleAngularVelocity properties determine rotation angles and rates. You can randomize the rotations of newly spawned particles with the particleAngleVariation property.

The default value is 0.0 degrees, specifying no rotation.

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

See Also

Managing Particle Motion

particleAngleVariation

The range, in degrees of randomized initial particle angles. Animatable.

particleVelocity

The initial speed, in units per second, for newly spawned particles. Animatable.

particleVelocityVariation

The range, in units per second, of randomized initial particle speeds. Animatable.

particleAngularVelocity

The initial spin rate, in degrees per second, of newly spawned particles. Animatable.

particleAngularVelocityVariation

The range, in degrees per second, of randomized initial angular velocities for particles. Animatable.

particleLifeSpan

The duration, in seconds, for which each particle is rendered before being removed from the scene. Animatable.

particleLifeSpanVariation

The range, in seconds, of randomized particle life spans. Animatable.