Contents

xAcceleration

The acceleration to apply to a particle’s horizontal velocity.

Declaration

var xAcceleration: CGFloat { get set }

Discussion

This property is useful for simulating wind, gravity and other effects. It is uniformly applied to all particles generated by the emitter.

The default value is 0.0.

See Also

Controlling Particle Velocity and Acceleration