|
cocos2d-x
2.1.1
|
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
List of all members
CCGridBase Class Reference
Base class for other. More...
#include <CCGrid.h>
Inheritance diagram for CCGridBase:
Public Member Functions | |
| virtual | ~CCGridBase (void) |
| bool | isActive (void) |
| whether or not the grid is active | |
| void | setActive (bool bActive) |
| int | getReuseGrid (void) |
| number of times that the grid will be reused | |
| void | setReuseGrid (int nReuseGrid) |
| const CCSize & | getGridSize (void) |
| size of the grid | |
| void | setGridSize (const CCSize &gridSize) |
| const CCPoint & | getStep (void) |
| pixels between the grids | |
| void | setStep (const CCPoint &step) |
| bool | isTextureFlipped (void) |
| is texture flipped | |
| void | setTextureFlipped (bool bFlipped) |
| bool | initWithSize (const CCSize &gridSize, CCTexture2D *pTexture, bool bFlipped) |
| bool | initWithSize (const CCSize &gridSize) |
| void | beforeDraw (void) |
| void | afterDraw (CCNode *pTarget) |
| virtual void | blit (void) |
| virtual void | reuse (void) |
| virtual void | calculateVertexPoints (void) |
| void | set2DProjection (void) |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| void | release (void) |
| void | retain (void) |
| CCObject * | autorelease (void) |
| CCObject * | copy (void) |
| bool | isSingleReference (void) |
| unsigned int | retainCount (void) |
| virtual bool | isEqual (const CCObject *pObject) |
| virtual void | update (float dt) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
| static CCGridBase * | create (const CCSize &gridSize, CCTexture2D *texture, bool flipped) |
| create one Grid | |
| static CCGridBase * | create (const CCSize &gridSize) |
| create one Grid | |
Protected Attributes | |
| bool | m_bActive |
| int | m_nReuseGrid |
| CCSize | m_sGridSize |
| CCTexture2D * | m_pTexture |
| CCPoint | m_obStep |
| CCGrabber * | m_pGrabber |
| bool | m_bIsTextureFlipped |
| CCGLProgram * | m_pShaderProgram |
| ccDirectorProjection | m_directorProjection |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
Detailed Description
Base class for other.
Constructor & Destructor Documentation
|
virtual |
Member Function Documentation
| void afterDraw | ( | CCNode * | pTarget | ) |
| void beforeDraw | ( | void | ) |
|
virtual |
Reimplemented in CCTiledGrid3D, and CCGrid3D.
|
virtual |
Reimplemented in CCTiledGrid3D, and CCGrid3D.
|
static |
create one Grid
|
static |
create one Grid
|
inline |
size of the grid
|
inline |
number of times that the grid will be reused
|
inline |
pixels between the grids
| bool initWithSize | ( | const CCSize & | gridSize, |
| CCTexture2D * | pTexture, | ||
| bool | bFlipped | ||
| ) |
| bool initWithSize | ( | const CCSize & | gridSize | ) |
|
inline |
whether or not the grid is active
|
inline |
is texture flipped
|
virtual |
Reimplemented in CCTiledGrid3D, and CCGrid3D.
| void set2DProjection | ( | void | ) |
| void setActive | ( | bool | bActive | ) |
|
inline |
|
inline |
|
inline |
| void setTextureFlipped | ( | bool | bFlipped | ) |
Member Data Documentation
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The documentation for this class was generated from the following file:
- /Users/zhangkoumyou/SourceCode/cocos2d-x/cocos2dx/effects/CCGrid.h

Public Member Functions inherited from 