cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tCCParticle Struct Reference

Structure that contains the values of each particle. More...

#include <CCParticleSystem.h>

Public Attributes

CCPoint pos
CCPoint startPos
ccColor4F color
ccColor4F deltaColor
float size
float deltaSize
float rotation
float deltaRotation
float timeToLive
unsigned int atlasIndex
struct {
   CCPoint   dir
   var   dir
   local   dir
   float   radialAccel
   var   radialAccel
   local   radialAccel
   float   tangentialAccel
   var   tangentialAccel
   local   tangentialAccel
modeA
 Mode A: gravity, direction, radial accel, tangential accel. More...
 
struct {
   float   angle
   local   angle
   float   degreesPerSecond
   local   degreesPerSecond
   float   radius
   local   radius
   float   deltaRadius
   local   deltaRadius
modeB
 Mode B: radius mode. More...
 

Detailed Description

Structure that contains the values of each particle.

Member Data Documentation

float angle
unsigned int atlasIndex
ccColor4F color
float degreesPerSecond
ccColor4F deltaColor
float deltaRadius
float deltaRotation
float deltaSize
CCPoint dir
struct { ... } modeA

Mode A: gravity, direction, radial accel, tangential accel.

struct { ... } modeB

Mode B: radius mode.

CCPoint pos
float radialAccel
float radius
float rotation
float size
CCPoint startPos
float tangentialAccel
float timeToLive

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