Base class for CCGrid3D actions. Grid3D actions can modify a non-tiled grid.
Class CCGrid3DAction
#include <Geode/cocos/actions/CCActionGrid.h>
classCCGrid3DAction:publiccocos2d::CCGridAction{ ... }
Examples0
Public static methods1
staticcocos2d::CCGrid3DAction*create(floatduration,cocos2d::CCSizeconst&gridSize)
creates the action with size and duration
Public member functions4
virtualcocos2d::CCGridBase*getGrid()
returns the grid
cocos2d::ccVertex3Fvertex(cocos2d::CCPointconst&position)
returns the vertex than belongs to certain position in the grid
cocos2d::ccVertex3ForiginalVertex(cocos2d::CCPointconst&position)
returns the non-transformed vertex than belongs to certain position in the grid
voidsetVertex(cocos2d::CCPointconst&position,)
sets a new vertex to a certain position of the grid