axmol/tools/tolua++/CCAtlasNode.pkg

25 lines
635 B
Plaintext

class CCAtlasNode : public CCNodeRGBA
{
CCTextureAtlas* getTextureAtlas();
void setTextureAtlas(CCTextureAtlas* atlas);
CCTexture2D* getTexture(void);
void setTexture(CCTexture2D *texture);
Color3B getColor();
void setColor(Color3B 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);
};