CCTiledGrid3D is a 3D grid implementation. It differs from Grid3D in that the tiles can be separated from the grid.
Class CCTiledGrid3D
#include <Geode/cocos/effects/CCGrid.h>classCCTiledGrid3D:publiccocos2d::CCGridBase{ ... }
Examples0
Public static methods2
staticcocos2d::CCTiledGrid3D*create(cocos2d::CCSizeconst&gridSize,cocos2d::CCTexture2D*pTexture,boolbFlipped)
create one Grid
staticcocos2d::CCTiledGrid3D*create(cocos2d::CCSizeconst&gridSize)
create one Grid
Public member functions6
cocos2d::ccQuad3tile()
returns the tile at the given position
cocos2d::ccQuad3originalTile()
returns the original tile (untransformed) at the given position
voidsetTile(,cocos2d::ccQuad3const&coords)
sets a new tile
virtualvoidblit()
No description provided
virtualvoidreuse()
No description provided
virtualvoidcalculateVertexPoints()
No description provided
Fields0
Protected member functions0
Protected fields4
_::GLvoid*m_pTexCoordinates;
No description provided
_::GLvoid*m_pVertices;
No description provided
_::GLvoid*m_pOriginalVertices;
No description provided
_::GLushort*m_pIndices;
No description provided