Instance Property


Determines the depth of the emitter shape.


var emitterDepth: CGFloat { get set }


How the emitter depth is applied depends on the emitter shape. See Emitter Shape for details. Depending on the value of emitterShape, this value may be ignored.

Default is 0.0.

See Also

Emitter Geometry

var renderMode: CAEmitterLayerRenderMode

Defines how particle cells are rendered into the layer.

var emitterPosition: CGPoint

The position of the center of the particle emitter. Animatable.

var emitterZPosition: CGFloat

Specifies the center of the particle emitter shape along the z-axis. Animatable.

var emitterSize: CGSize

Determines the size of the particle emitter shape. Animatable.