cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.koboldtouch.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
tCCParticle Struct Reference

#import <CCParticleSystem.h>

Collaboration diagram for tCCParticle:

Protected Attributes

CGPoint pos
 
CGPoint startPos
 
ccColor4F color
 
ccColor4F deltaColor
 
float size
 
float deltaSize
 
float rotation
 
float deltaRotation
 
ccTime timeToLive
 
NSUInteger atlasIndex
 
union {
   struct {
      CGPoint   dir
 
      float   radialAccel
 
      float   tangentialAccel
 
   }   A
 
   struct {
      float   angle
 
      float   degreesPerSecond
 
      float   radius
 
      float   deltaRadius
 
   }   B
 
mode
 

Detailed Description

Structure that contains the values of each particle


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