CC3UniformlyEvolvingPointParticle is a type of CC3SprayPointParticle that implements the CC3UniformlyGrowingPointParticleProtocol and CC3UniformlyFadingParticleProtocol protocols to configure steadily changing color and size that vary linearly from an intitial color and size to a final color and size. More...
#import <CC3PointParticleSamples.h>
CC3UniformlyEvolvingPointParticle is a type of CC3SprayPointParticle that implements the CC3UniformlyGrowingPointParticleProtocol and CC3UniformlyFadingParticleProtocol protocols to configure steadily changing color and size that vary linearly from an intitial color and size to a final color and size.
The rate of change of the particle's color and size are specified by the colorVelocity and sizeVelocity properties respectively.
To produce uniform evolution, the updateBeforeTransform: method multiplies each of these velocities by the interval since the previous update, and adds each result, accordingly, to the color and size properties of this particle. Color and size are only updated if the underlying mesh supports that content.