v2.0.2
Instance Methods | List of all members
CC3SprayPointParticle Class Reference

#import <CC3PointParticleSamples.h>

Inheritance diagram for CC3SprayPointParticle:
Inheritance graph
[legend]

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
 
CC3PointParticleEmitteremitter
 
BOOL hasNormal
 
BOOL hasSize
 
CC3Vector normal
 
GLfloat size
 
- Properties inherited from <CC3MortalParticleProtocol>
CCTime lifeSpan
 
CCTime timeToLive
 
- Properties inherited from <CC3UniformlyMovingParticleProtocol>
CC3Vector location
 
CC3Vector velocity
 

Detailed Description

CC3SprayPointParticle is a type of CC3MortalPointParticle that implements the CC3SprayParticleProtocol to configure the particle to move in a straight line at a steady speed.

Method Documentation

- (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.


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