Global Variable

SCNParticlePropertyColor

The particle’s tint color, as a vector of red, green, blue, and alpha component values.

Declaration

const SCNParticleProperty SCNParticlePropertyColor;

Discussion

This property’s value is a four-component vector (an NSValue object containing an SCNVector4 value for particle property controllers, or an array of four float values for particle event or modifier blocks).

The particle system’s particleColor and particleColorVariation properties determine the initial color for each particle.