#import <CC3PointParticleSamples.h>
Instance Methods | |
(void) | - updateBeforeTransform: |
Instance Methods inherited from CC3MortalPointParticle | |
(void) | - updateLife: |
Instance Methods inherited from CC3PointParticle | |
(id) | - initFromEmitter: |
(void) | - update: |
Instance Methods inherited from CC3ParticleBase | |
(id) | - init |
(void) | - populateFrom: |
(void) | - remove |
Instance Methods inherited from <CC3PointParticleProtocol> | |
(void) | - pointNormalAt: |
Additional Inherited Members | |
Class Methods inherited from CC3PointParticle | |
(id) | + particleFromEmitter: |
Properties inherited from CC3PointParticle | |
GLuint index | __deprecated |
CC3PointParticleEmitter * | emitter |
BOOL | hasNormal |
BOOL | hasSize |
CC3Vector | normal |
GLfloat | size |
Properties inherited from <CC3MortalParticleProtocol> | |
CCTime | lifeSpan |
CCTime | timeToLive |
Properties inherited from <CC3UniformlyMovingParticleProtocol> | |
CC3Vector | location |
CC3Vector | velocity |
CC3SprayPointParticle is a type of CC3MortalPointParticle that implements the CC3SprayParticleProtocol to configure the particle to move in a straight line at a steady speed.
- (void) updateBeforeTransform: | (CC3NodeUpdatingVisitor *) | visitor |
This template callback method is invoked automatically whenever the emitter is updated during a scheduled 3D scene update.
The direction and speed are specified by the velocity property. To produce uniform motion, this method multiplies this velocity by the interval since the previous update, and the resulting distance vector is added to the location of this particle
Subclasses that override this method should invoke this superclass implementation first, and should check the isAlive property prior to making any further modifications..
Implements CC3MortalPointParticle.
Implemented in CC3UniformlyEvolvingPointParticle.