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