Class cc.ParticleRain
- Defined in: CCParticleExamples.js
- Extends cc.ParticleSystem
Constructor Attributes | Constructor Name and Description |
---|---|
A rain particle system
|
Method Summary
Class Detail
cc.ParticleRain()
A rain particle system
var emitter = cc.ParticleRain.create();
Method Detail
-
Create a rain particle system
var emitter = cc.ParticleRain.create();
- Returns:
- {cc.ParticleRain}
-
{Boolean} init()initialize a rain particle system
- Returns:
- {Boolean}
-
{Boolean} initWithTotalParticles(numberOfParticles)initialize a rain particle system with number Of Particles
- Parameters:
- {Number} numberOfParticles
- Returns:
- {Boolean}