Cocos2d-x  v3.11
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
ParticleSnow Class Reference

An snow particle system. More...

Inherits ParticleSystemQuad.

Static Public Member Functions

static ParticleSnowcreate ()
 Create a snow particle system. More...
 
var create ()
 Create a snow particle system. More...
 
local create ()
 Create a snow particle system. More...
 
static ParticleSnowcreateWithTotalParticles (int numberOfParticles)
 Create a snow particle system withe a fixed number of particles. More...
 
local createWithTotalParticles ( local numberOfParticles)
 Create a snow particle system withe a fixed number of particles. More...
 
- Static Public Member Functions inherited from ParticleSystemQuad
static ParticleSystemQuadcreate ()
 Creates a particle emitter. More...
 
static ParticleSystemQuadcreateWithTotalParticles (int numberOfParticles)
 Creates a particle emitter with a number of particles. More...
 
local createWithTotalParticles ( local numberOfParticles)
 Creates a particle emitter with a number of particles. More...
 
static ParticleSystemQuadcreate (const std::string &filename)
 Creates an particle emitter from a plist file. More...
 
local create ( local filename)
 Creates an particle emitter from a plist file. More...
 
static ParticleSystemQuadcreate (ValueMap &dictionary)
 Creates a particle emitter with a dictionary. More...
 
local create ( local dictionary)
 Creates a particle emitter with a dictionary. More...
 

Additional Inherited Members

- Public Member Functions inherited from ParticleSystemQuad
void setDisplayFrame (SpriteFrame *spriteFrame)
 Sets a new SpriteFrame as particle. More...
 
void setTextureWithRect (Texture2D *texture, const Rect &rect)
 Sets a new texture with a rect. More...
 
void listenRendererRecreated (EventCustom *event)
 Listen the event that renderer was recreated on Android/WP8. More...
 

Detailed Description

An snow particle system.

Member Function Documentation

static ParticleSnow* create ( )
static

Create a snow particle system.

An autoreleased ParticleSnow object.

var create ( )
static

Create a snow particle system.

An autoreleased ParticleSnow object.

local create ( )
static

Create a snow particle system.

An autoreleased ParticleSnow object.

static ParticleSnow*
createWithTotalParticles
( int  numberOfParticles)
static

Create a snow particle system withe a fixed number of particles.

A given number of particles. An autoreleased ParticleSnow object.

local createWithTotalParticles ( local  numberOfParticles)
static

Create a snow particle system withe a fixed number of particles.

A given number of particles. An autoreleased ParticleSnow object.


The documentation for this class was generated from the following file: