Class cc.ParticleGalaxy
- Defined in: CCParticleExamples.js
- Extends cc.ParticleSystem
Constructor Attributes | Constructor Name and Description |
---|---|
A galaxy particle system
|
Method Summary
Class Detail
cc.ParticleGalaxy()
A galaxy particle system
var emitter = new cc.ParticleGalaxy();
Method Detail
-
Create a galaxy particle system
- Deprecated:
- since v3.0 please use new cc.OarticleGalaxy() instead.
- Returns:
- {cc.ParticleGalaxy}
-
ctor()
The cc.ParticleGalaxy's constructor.
This function will automatically be invoked when you create a node using new construction: "var node = new cc.ParticleGalaxy()".
Override it to extend its behavior, remember to call "this._super()" in the extended "ctor" function. -
{Boolean} initWithTotalParticles(numberOfParticles)initialize a galaxy particle system with number Of Particles
- Parameters:
- {Number} numberOfParticles
- Returns:
- {Boolean}