CGSGParticleSystem Class
A particle System object.
Item Index
Methods
Properties
Methods
addAttractor
(
Object
public
-
position
-
strength
-
distance
Parameters:
-
position
CGSGPosition -
strength
Number -
distance
Number
Returns:
addEmitter
(
CGSGParticleEmitter
public
-
node
-
region
-
nbParticlesMax
-
velocity
-
angle
-
speed
-
speedThreshold
-
outflow
Create a new emitter and return it
Parameters:
Returns:
addRepulsor
(
Object
public
-
position
-
strength
-
distance
Parameters:
-
position
CGSGPosition -
strength
Number -
distance
Number
Returns:
pickNode
(
protected
-
mousePosition
-
absoluteScale
-
ghostContext
-
recursively
-
condition
override the CGSGNode 'pickNode' method to return null due to performance
Parameters:
Returns:
:
removeEmitter
(
public
-
emitter
Remove the emitter passed in parameter
Parameters:
-
emitter
CGSGParticleEmitter