Properties

<CC3UniformlyGrowingPointParticleProtocol> Protocol Reference

CC3UniformlyGrowingPointParticleProtocol defines behaviour required for point particles whose size grows or shrinks at a steady rate. More...

#import <CC3PointParticleSamples.h>

List of all members.

Properties

GLfloat size
GLfloat sizeVelocity

Detailed Description

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.


Property Documentation

- (GLfloat) size [read, write, assign]

Indicates the current size of this point particle.

- (GLfloat) sizeVelocity [read, write, assign]

Indicates the rate at which this particle changes size.

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.


The documentation for this protocol was generated from the following file: