axmol/tools/tolua++/CCAtlasNode.pkg

25 lines
639 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
class CCAtlasNode : public CCNodeRGBA
2012-02-02 14:26:38 +08:00
{
CCTextureAtlas* getTextureAtlas();
void setTextureAtlas(CCTextureAtlas* atlas);
CCTexture2D* getTexture(void);
2012-02-02 14:26:38 +08:00
void setTexture(CCTexture2D *texture);
ccColor3B getColor();
void setColor(ccColor3B color);
unsigned int getQuadsToDraw();
void setQuadsToDraw(unsigned int quadsToDraw);
GLubyte getOpacity();
void setOpacity(GLubyte opacity);
void updateAtlasValues();
bool isOpacityModifyRGB();
void setOpacityModifyRGB(bool isOpacityModifyRGB);
static CCAtlasNode * create(const char* tile, unsigned int tileWidth, unsigned int tileHeight, unsigned int itemsToRender);
2012-02-02 14:26:38 +08:00
};