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

An smoke particle system. More...

Inherits ParticleSystemQuad.

Static Public Member Functions

static ParticleSmokecreate ()
 Create a smoke particle system. More...
 
var create ()
 Create a smoke particle system. More...
 
local create ()
 Create a smoke particle system. More...
 
static ParticleSmokecreateWithTotalParticles (int numberOfParticles)
 Create a smoke 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 smoke particle system.

Member Function Documentation

static ParticleSmoke* create ( )
static

Create a smoke particle system.

An autoreleased ParticleSmoke object.

var create ( )
static

Create a smoke particle system.

An autoreleased ParticleSmoke object.

local create ( )
static

Create a smoke particle system.

An autoreleased ParticleSmoke object.

static ParticleSmoke*
createWithTotalParticles
( int  numberOfParticles)
static

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

A given number of particles. An autoreleased ParticleSmoke object.

local createWithTotalParticles ( local  numberOfParticles)
static

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

A given number of particles. An autoreleased ParticleSmoke object.


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