cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
tCCParticle Struct Reference

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

#include <CCParticleSystem.h>

Collaboration diagram for tCCParticle:
[legend]

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
 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

◆ angle

float angle

◆ atlasIndex

unsigned int atlasIndex

◆ color

ccColor4F color

◆ degreesPerSecond

float degreesPerSecond

◆ deltaColor

ccColor4F deltaColor

◆ deltaRadius

float deltaRadius

◆ deltaRotation

float deltaRotation

◆ deltaSize

float deltaSize

◆ dir

CCPoint dir

◆ 

struct { ... } modeA

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

◆ 

struct { ... } modeB

Mode B: radius mode.

◆ pos

CCPoint pos

◆ radialAccel

float radialAccel

◆ radius

float radius

◆ rotation

float rotation

◆ size

float size

◆ startPos

CCPoint startPos

◆ tangentialAccel

float tangentialAccel

◆ timeToLive

float timeToLive

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