cocos2d-x  3.3rc0
 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
var startPos
local startPos
Color4F color
var color
local color
Color4F deltaColor
var deltaColor
local deltaColor
float size
var size
local size
float deltaSize
var deltaSize
local deltaSize
float rotation
var rotation
local rotation
float deltaRotation
var deltaRotation
local deltaRotation
float timeToLive
var timeToLive
local timeToLive
unsigned int atlasIndex
var atlasIndex
local atlasIndex
struct {
   Vec2   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
   var   angle
   local   angle
   float   degreesPerSecond
   var   degreesPerSecond
   local   degreesPerSecond
   float   radius
   var   radius
   local   radius
   float   deltaRadius
   var   deltaRadius
   local   deltaRadius
modeB
 Mode B: radius mode. More...
 
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
Vec2 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.

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