|
cocos2d-mac
1.0.1
Improved Cocos2D API Reference (Mac OS X version) for Kobold2D developers
|
#include <CCParticleSystemQuad.h>
Public Member Functions | |
| void | initIndices () |
| void | initTexCoordsWithRect: (CGRect rect) |
| void | setDisplayFrame: (CCSpriteFrame *spriteFrame) |
| void | setTexture:withRect: (CCTexture2D *texture,[withRect] CGRect rect) |
Protected Attributes | |
| ccV2F_C4B_T2F_Quad * | quads_ |
| GLushort * | indices_ |
| GLuint | quadsID_ |
CCParticleSystemQuad is a subclass of CCParticleSystem
It includes all the features of ParticleSystem.
Special features and Limitations:
| void CCParticleSystemQuad::initIndices | ( | ) | [virtual] |
initialices the indices for the vertices
| void CCParticleSystemQuad::initTexCoordsWithRect: | ( | CGRect | rect | ) | [virtual] |
initilizes the texture with a rectangle measured Points
| void CCParticleSystemQuad::setDisplayFrame: | ( | CCSpriteFrame * | spriteFrame | ) | [virtual] |
Sets a new CCSpriteFrame as particle. WARNING: this method is experimental. Use setTexture:withRect instead.
| void CCParticleSystemQuad::setTexture:withRect: | ( | CCTexture2D * | texture, |
| [withRect] CGRect | rect | ||
| ) | [virtual] |
Sets a new texture with a rect. The rect is in Points.