Instance Property

yAcceleration

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

Declaration

@property(nonatomic) CGFloat yAcceleration;

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

particleSpeed

The average initial speed of a new particle, in points per second.

particleSpeedRange

The range of allowed random values for a particle’s initial speed.

emissionAngle

The average initial direction of a particle, expressed as an angle in radians.

emissionAngleRange

The range of allowed random values for a particle’s initial direction, expressed as an angle in radians.

xAcceleration

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

particleZPositionSpeed

The speed at which the particle’s depth changes.

Deprecated