cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCTextureData Class Reference

#include <CCDatas.h>

Inheritance diagram for CCTextureData:
CCObject CCCopying

Public Member Functions

 CCTextureData ()
 ~CCTextureData (void)
virtual bool init ()
void addContourData (CCContourData *contourData)
CCContourDatagetContourData (int index)
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (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)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static CCTextureDatacreate (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...
- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Additional Inherited Members

- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Constructor & Destructor Documentation

~CCTextureData ( void  )

Member Function Documentation

void addContourData ( CCContourData contourData)
static CCTextureData* create ( void  )
CCContourData* getContourData ( int  index)
virtual bool init ( )

Member Data Documentation

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.

The documentation for this class was generated from the following file: