Instance Property

particleAlpha

The average starting alpha value for a particle.

Declaration

@property(nonatomic) CGFloat particleAlpha;

Discussion

The particle alpha value is equivalent to the alpha property of the SKNode class. The alpha component of the color that results from the texture and color blending state is multiplied by a particle’s alpha value. The resulting particle color is then blended with the parent’s framebuffer. The default value is 1.0.

See Also

Blending Particles with the Framebuffer

particleBlendMode

The blending mode used to blend particles into the framebuffer.

particleAlphaSequence

The sequence used to specify the alpha value of a particle over its lifetime.

particleAlphaRange

The range of allowed random values for a particle’s starting alpha value.

particleAlphaSpeed

The rate at which the alpha value of a particle changes per second.