mirror of https://github.com/axmolengine/axmol.git
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
class CCParticleBatchNode : public CCNode, public CCTextureProtocol
|
|
{
|
|
public:
|
|
static CCParticleBatchNode* createWithTexture(CCTexture2D *tex, unsigned int capacity = kCCParticleDefaultCapacity);
|
|
static CCParticleBatchNode* create(const char* fileImage, unsigned int capacity = kCCParticleDefaultCapacity);
|
|
|
|
virtual void addChild(CCNode * child);
|
|
virtual void addChild(CCNode * child, int zOrder);
|
|
virtual void addChild(CCNode * child, int zOrder, int tag);
|
|
|
|
void insertChild(CCParticleSystem* pSystem, unsigned int index);
|
|
|
|
virtual void removeChild(CCNode* child, bool cleanup);
|
|
virtual void reorderChild(CCNode * child, int zOrder);
|
|
void removeChildAtIndex(unsigned int index, bool doCleanup);
|
|
void removeAllChildrenWithCleanup(bool doCleanup);
|
|
void disableParticle(unsigned int particleIndex);
|
|
|
|
virtual CCTexture2D* getTexture(void);
|
|
virtual void setTexture(CCTexture2D *texture);
|
|
virtual void setBlendFunc(ccBlendFunc blendFunc);
|
|
virtual ccBlendFunc getBlendFunc(void);
|
|
};
|