![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCParticleSystemQuad.h>
Public Member Functions | |
(void) | - initIndices |
(void) | - initTexCoordsWithRect: |
(void) | - setDisplayFrame: |
(void) | - setTexture:withRect: |
Protected Attributes | |
ccV3F_C4B_T2F_Quad * | _quads |
GLushort * | _indices |
GLuint | _VAOname |
GLuint | _buffersVBO [2] |
CCParticleSystemQuad is a subclass of CCParticleSystem
It includes all the features of ParticleSystem.
Special features and Limitations:
- (void) initIndices |
initialices the indices for the vertices
- (void) initTexCoordsWithRect: | (CGRect) | rect |
initilizes the texture with a rectangle measured Points
- (void) setDisplayFrame: | (CCSpriteFrame *) | spriteFrame |
Sets a new CCSpriteFrame as particle. WARNING: this method is experimental. Use setTexture:withRect instead.
- (void) setTexture: | (CCTexture2D *) | texture | |
withRect: | (CGRect) | rect | |
Sets a new texture with a rect. The rect is in Points.