Contents

particleColor

The color of newly spawned particles. Animatable.

Declaration

var particleColor: UIColor { get set }
var particleColor: NSColor { get set }

Discussion

This color tints or shades the texture provided by the particleImage property. You can use this property to implement a range of many possible visual effects using the same artwork. For example, a small, blurry, white circle texture can be tinted yellow or orange to simulate fire, shaded gray or black to simulate smoke, or left alone to simulate falling snow.

The default color is white, causing the particle image to appear without tint or shading.

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

See Also

Specifying Particle Appearance