cocos2d-x  2.1.1
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
 
   float   radialAccel
 
   float   tangentialAccel
 
modeA
 
struct {
   float   angle
 
   float   degreesPerSecond
 
   float   radius
 
   float   deltaRadius
 
modeB
 

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
struct { ... } modeB
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: