Class cc.ParticleSnow

Class Summary
Constructor Attributes Constructor Name and Description
 
A snow particle system

Method Summary

Class Detail

cc.ParticleSnow()
A snow particle system
var emitter = new cc.ParticleSnow();

Method Detail

  • <static> {cc.ParticleSnow} cc.ParticleSnow.create()
    Create a snow particle system
    var emitter = cc.ParticleSnow.create();
    Deprecated:
    since v3.0 please use new cc.ParticleSnow() instead.
    Returns:
    {cc.ParticleSnow}
  • ctor()

    The cc.ParticleSnow's constructor.
    This function will automatically be invoked when you create a node using new construction: "var node = new cc.ParticleSnow()".
    Override it to extend its behavior, remember to call "this._super()" in the extended "ctor" function.

  • {Boolean} initWithTotalParticles(numberOfParticles)
    initialize a snow particle system with number Of Particles
    Parameters:
    {Number} numberOfParticles
    Returns:
    {Boolean}