CC3UniformlyGrowingPointParticleProtocol Protocol Reference
Conforms to | CC3PointParticleProtocol |
Declared in | CC3PointParticleSamples.h |
Overview
CC3UniformlyGrowingPointParticleProtocol defines behaviour required for point particles whose size grows or shrinks at a steady rate.
Size can only be applied to individual particles if the emitter has been configured to contain vertex point size content (kCC3VertexContentPointSize).
This protocol can be used with point particles. Mesh particle do not have a point size.
Properties
size
Indicates the current size of this point particle.
@property (nonatomic, assign) GLfloat size
Declared In
CC3PointParticleSamples.h
sizeVelocity
Indicates the rate at which this particle changes size.
@property (nonatomic, assign) GLfloat sizeVelocity
Discussion
If this particle has size content, the updateBeforeTransform: method multiplies this velocity by the interval since the previous update, and adds the result to the size of this particle.
Declared In
CC3PointParticleSamples.h