Instance Property

particleColorSequence

The sequence used to specify the color components of a particle over its lifetime.

Declaration

@property(nonatomic, retain) SKKeyframeSequence *particleColorSequence;

Discussion

The default value is nil. If a non-nil value is specified, then the particleColor, particleColorAlphaRange, particleColorRedRange, particleColorGreenRange, particleColorBlueRange, particleColorAlphaSpeed, particleColorRedSpeed, particleColorGreenSpeed, and particleColorBlueSpeed properties are ignored. Instead, the sequence is used to specify the particle color.

See Also

Configuring Particle Color

particleColor

The average initial color for a particle.

particleColorAlphaRange

The range of allowed random values for the alpha component of a particle’s initial color.

particleColorBlueRange

The range of allowed random values for the blue component of a particle’s initial color.

particleColorGreenRange

The range of allowed random values for the green component of a particle’s initial color.

particleColorRedRange

The range of allowed random values for the red component of a particle’s initial color.

particleColorAlphaSpeed

The rate at which the alpha component of a particle’s color changes per second.

particleColorBlueSpeed

The rate at which the blue component of a particle’s color changes per second.

particleColorGreenSpeed

The rate at which the green component of a particle’s color changes per second.

particleColorRedSpeed

The rate at which the red component of a particle’s color changes per second.