CGSGParticleEmitter Class
A particle emitter for the cgSceneGraph Particle System
Constructor
Item Index
Methods
_createParticle
(
private
-
index
create a new particle, and add it to the emitter
Parameters:
-
index
Number
addForce
(
Object
public
-
vector
-
ttl
Add a force to the emitter
Parameters:
-
vector
CGSGVector2D -
ttl
Numbertime to live of the force
Returns:
reset
()
public
reset the animation
start
()
public
start the animation
stop
()
public
stop the animation
Properties
angle
Number
angle range of emission. a particle is emitted in the this.direction vector + or - this.angle/2 angle.