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

#include <CCDatas.h>

Inheritance diagram for TextureData:

Public Member Functions

~TextureData (void)
virtual bool init ()
void addContourData (ContourData *contourData)
ContourDatagetContourData (int index)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
void release ()
 Releases the ownership immediately. More...
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
virtual ~Ref ()
 Destructor. More...

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
cocos2d::Vector< ContourData * > contourDataList
 The texture's name. More...

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 Ref ()
 Constructor. More...
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
local _referenceCount
 count of references More...

Constructor & Destructor Documentation

Member Function Documentation

void addContourData ( ContourData contourData)
var addContourData ( var  contourData)
local addContourData ( local  contourData)
ContourData* getContourData ( int  index)
var getContourData ( var  index)
local getContourData ( local  index)
virtual bool init ( )
var init ( )
local init ( )

Member Data Documentation


The texture's name.

var contourDataList

The texture's name.

local contourDataList

The texture's name.

float height
var height
local height
std::string name
var name
local name
float pivotX
var pivotX
local pivotX
float pivotY

The texture's anchor point.

var pivotY

The texture's anchor point.

local pivotY

The texture's anchor point.

float width

The texture's width, height.

var width

The texture's width, height.

local width

The texture's width, height.

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