Class cc.ParticleRain

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

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