Class cc.ParticleSun

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

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