cocos2d-x  3.0-beta2
 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

Point pos
Point startPos
Color4F color
Color4F deltaColor
var deltaColor
local deltaColor
float size
float deltaSize
float rotation
float deltaRotation
var deltaRotation
local deltaRotation
float timeToLive
var timeToLive
local timeToLive
unsigned int atlasIndex
var atlasIndex
local atlasIndex
struct {
   Point   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...
 
modeA
 Mode A: gravity, direction, radial accel, tangential accel. More...
 
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...
 
modeB
 Mode B: radius mode. More...
 

Detailed Description

Structure that contains the values of each particle.

Member Data Documentation

float angle
var angle
local angle
unsigned int atlasIndex
var atlasIndex
local atlasIndex
Color4F color
var color
local color
float degreesPerSecond
var degreesPerSecond
local degreesPerSecond
Color4F deltaColor
var deltaColor
local deltaColor
float deltaRadius
var deltaRadius
local deltaRadius
float deltaRotation
var deltaRotation
local deltaRotation
float deltaSize
var deltaSize
local deltaSize
Point dir
var dir
local dir
struct { ... } modeA

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

struct { ... } modeA

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

struct { ... } modeA

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

struct { ... } modeB

Mode B: radius mode.

struct { ... } modeB

Mode B: radius mode.

struct { ... } modeB

Mode B: radius mode.

Point pos
var pos
local pos
float radialAccel
var radialAccel
local radialAccel
float radius
var radius
local radius
float rotation
var rotation
local rotation
float size
var size
local size
Point startPos
var startPos
local startPos
float tangentialAccel
var tangentialAccel
local tangentialAccel
float timeToLive
var timeToLive
local timeToLive

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