CCParticleSystemQuad Class Reference
Inherits from | CCParticleSystem : CCNode : NSObject |
Declared in | CCParticleSystemQuad.h |
Overview
CCParticleSystemQuad is a subclass of CCParticleSystem
It includes all the features of ParticleSystem.
Special features and Limitations: – Particle size can be any float number. – The system can be scaled – The particles can be rotated – It supports subrects – It supports batched rendering since 1.1
Tasks
-
– initIndices
initialices the indices for the vertices
-
– initTexCoordsWithRect:
initilizes the texture with a rectangle measured Points
-
– setDisplayFrame:
Sets a new CCSpriteFrame as particle. WARNING: this method is experimental. Use setTexture:withRect instead.
-
– setTexture:withRect:
Sets a new texture with a rect. The rect is in Points.
Instance Methods
initIndices
initialices the indices for the vertices
- (void)initIndices
Declared In
CCParticleSystemQuad.h
initTexCoordsWithRect:
initilizes the texture with a rectangle measured Points
- (void)initTexCoordsWithRect:(CGRect)rect
Declared In
CCParticleSystemQuad.h