#include <CCDatas.h>
Public Member Functions | |
CCTextureData () | |
~CCTextureData (void) | |
virtual bool | init () |
void | addContourData (CCContourData *contourData) |
CCContourData * | getContourData (int index) |
![]() | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
![]() | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static CCTextureData * | create (void) |
Public Attributes | |
float | height |
float | width |
The texture's width, height. More... | |
float | pivotX |
float | pivotY |
The texture's anchor point. More... | |
std::string | name |
CCArray | contourDataList |
The texture's name. More... | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
Additional Inherited Members | |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
CCTextureData | ( | ) |
~CCTextureData | ( | void | ) |
void addContourData | ( | CCContourData * | contourData | ) |
|
inlinestatic |
CCContourData* getContourData | ( | int | index | ) |
|
virtual |
CCArray contourDataList |
The texture's name.
float height |
std::string name |
float pivotX |
float pivotY |
The texture's anchor point.
float width |
The texture's width, height.