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

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

#include <CCParticleSystem.h>

Public Attributes

Vec2 pos
 
Vec2 startPos
 
Color4F color
 
Color4F deltaColor
 
float size
 
float deltaSize
 
float rotation
 
float deltaRotation
 
float timeToLive
 
unsigned int atlasIndex
 
struct {
   Vec2   dir
 
   float   radialAccel
 
   float   tangentialAccel
 
modeA
 Mode A: gravity, direction, radial accel, tangential accel. More...
 
struct {
   float   angle
 
   float   degreesPerSecond
 
   float   radius
 
   float   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
Color4F color
float degreesPerSecond
Color4F deltaColor
float deltaRadius
float deltaRotation
float deltaSize
Vec2 dir
struct { ... } modeA

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

struct { ... } modeB

Mode B: radius mode.

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

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