cocos2d-mac  1.0.1
Improved Cocos2D API Reference (Mac OS X version) for Kobold2D developers
CCParticleSystemQuad Interface Reference

#include <CCParticleSystemQuad.h>

Inheritance diagram for CCParticleSystemQuad:
Collaboration diagram for CCParticleSystemQuad:

List of all members.

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_Quadquads_
GLushort * indices_
GLuint quadsID_

Detailed Description

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
  • On 1st and 2nd gen iPhones: It is only a bit slower that CCParticleSystemPoint
  • On 3rd gen iPhone and iPads: It is MUCH faster than CCParticleSystemPoint
  • It consumes more RAM and more GPU memory than CCParticleSystemPoint
  • It supports subrects
    Since:
    v0.8

Member Function Documentation

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.

Since:
v0.99.4
void CCParticleSystemQuad::setTexture:withRect: ( CCTexture2D texture,
[withRect] CGRect  rect 
) [virtual]

Sets a new texture with a rect. The rect is in Points.

Since:
v0.99.4

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