The average initial speed of a new particle, in points per second.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Sprite
Kit
Declaration
var particleSpeed: CGFloat { get set }
Discussion
The default value is 0
.
The average initial speed of a new particle, in points per second.
SDKs
Framework
var particleSpeed: CGFloat { get set }
The default value is 0
.
var particle Speed Range: CGFloat
The range of allowed random values for a particle’s initial speed.
var emission Angle: CGFloat
The average initial direction of a particle, expressed as an angle in radians.
var emission Angle Range: CGFloat
The range of allowed random values for a particle’s initial direction, expressed as an angle in radians.
var x Acceleration: CGFloat
The acceleration to apply to a particle’s horizontal velocity.
var y Acceleration: CGFloat
The acceleration to apply to a particle’s vertical velocity.