Instance Property

particleColorBlendFactorSequence

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

Declaration

var particleColorBlendFactorSequence: SKKeyframeSequence? { get set }

Discussion

The default value is nil. If a non-nil value is specified, then the particleColorBlendFactor, particleColorBlendFactorRange, and particleColorBlendFactorSpeed properties are ignored. Instead, the sequence is used to specify the color blend factor.

See Also

Controlling How the Texture is Blended with Particle Color

var particleColorBlendFactor: CGFloat

The average starting value for the color blend factor.

var particleColorBlendFactorRange: CGFloat

The range of allowed random values for a particle’s starting color blend factor.

var particleColorBlendFactorSpeed: CGFloat

The rate at which the color blend factor changes per second.