axmol/tools/tolua++/CCParticleBatchNode.pkg

24 lines
991 B
Plaintext
Raw Normal View History

class CCParticleBatchNode : public CCNode, public CCTextureProtocol
{
public:
void addChild(CCNode * child);
void addChild(CCNode * child, int zOrder);
void addChild(CCNode * child, int zOrder, int tag);
void insertChild(CCParticleSystem* pSystem, unsigned int index);
void removeChild(CCNode* child, bool cleanup);
void reorderChild(CCNode * child, int zOrder);
void removeChildAtIndex(unsigned int index, bool doCleanup);
void removeAllChildrenWithCleanup(bool doCleanup);
void disableParticle(unsigned int particleIndex);
CCTexture2D* getTexture(void);
void setTexture(CCTexture2D *texture);
2013-07-08 11:34:31 +08:00
void setBlendFunc(const BlendFunc &blendFunc);
const BlendFunc& getBlendFunc(void);
static CCParticleBatchNode* create(const char* fileImage, unsigned int capacity = kCCParticleDefaultCapacity);
static CCParticleBatchNode* createWithTexture(CCTexture2D *tex, unsigned int capacity = kCCParticleDefaultCapacity);
};