Class cc.ParticleGalaxy

Class Summary
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

  • <static> {cc.ParticleGalaxy} cc.ParticleGalaxy.create()
    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}