|
| | Grid3D () |
| | Constructor. More...
|
| |
| | ctor () |
| | Constructor. More...
|
| |
| | Grid3D () |
| | Constructor. More...
|
| |
| | ~Grid3D (void) |
| | Destructor. More...
|
| |
| Vec3 | getVertex (const Vec2 &pos) const |
| | Returns the vertex at a given position. More...
|
| |
| Vec3 | vertex (const Vec2 &pos) const |
| Vec3 | getOriginalVertex (const Vec2 &pos) const |
| | Returns the original (non-transformed) vertex at a given position. More...
|
| |
| Vec3 | originalVertex (const Vec2 &pos) const |
| void | setVertex (const Vec2 &pos, const Vec3 &vertex) |
| | Sets a new vertex at a given position. More...
|
| |
|
| virtual void | beforeBlit () override |
| var | beforeBlit () |
| local | beforeBlit () |
| virtual void | afterBlit () override |
| var | afterBlit () |
| local | afterBlit () |
| virtual void | blit () override |
| | Interface used to blit the texture with grid to screen. More...
|
| |
| var | blit () |
| | Interface used to blit the texture with grid to screen. More...
|
| |
| local | blit () |
| | Interface used to blit the texture with grid to screen. More...
|
| |
| virtual void | reuse () override |
| | Interface, Reuse the grid vertices. More...
|
| |
| var | reuse () |
| | Interface, Reuse the grid vertices. More...
|
| |
| local | reuse () |
| | Interface, Reuse the grid vertices. More...
|
| |
| virtual void | calculateVertexPoints () override |
| | Interface, Calculate the vertices used for the blit. More...
|
| |
| local | calculateVertexPoints () |
| | Interface, Calculate the vertices used for the blit. More...
|
| |
|
| void | setNeedDepthTestForBlit (bool neededDepthTest) |
| var | setNeedDepthTestForBlit ( var neededDepthTest) |
| local | setNeedDepthTestForBlit ( local neededDepthTest) |
| bool | getNeedDepthTestForBlit () const |
| virtual | ~GridBase (void) |
| | Destructor. More...
|
| |
| int | getReuseGrid (void) const |
| | Get number of times that the grid will be reused. More...
|
| |
| var | getReuseGrid () |
| | Get number of times that the grid will be reused. More...
|
| |
| local | getReuseGrid () |
| | Get number of times that the grid will be reused. More...
|
| |
| void | setReuseGrid (int reuseGrid) |
| | Set number of times that the grid will be reused. More...
|
| |
| var | setReuseGrid ( var reuseGrid) |
| | Set number of times that the grid will be reused. More...
|
| |
| local | setReuseGrid ( local reuseGrid) |
| | Set number of times that the grid will be reused. More...
|
| |
| const Size & | getGridSize (void) const |
| | Size of the grid. More...
|
| |
| var | getGridSize () |
| | Size of the grid. More...
|
| |
| local | getGridSize () |
| | Size of the grid. More...
|
| |
| void | setGridSize (const Size &gridSize) |
| | Set the size of the grid. More...
|
| |
| var | setGridSize ( var gridSize) |
| | Set the size of the grid. More...
|
| |
| local | setGridSize ( local gridSize) |
| | Set the size of the grid. More...
|
| |
| const Vec2 & | getStep (void) const |
| | Pixels between the grids. More...
|
| |
| local | getStep () |
| | Pixels between the grids. More...
|
| |
| void | setStep (const Vec2 &step) |
| | Get the pixels between the grids. More...
|
| |
| var | setStep ( var step) |
| | Get the pixels between the grids. More...
|
| |
| local | setStep ( local step) |
| | Get the pixels between the grids. More...
|
| |
| bool | isTextureFlipped (void) const |
| | is texture flipped. More...
|
| |
| var | isTextureFlipped () |
| | is texture flipped. More...
|
| |
| local | isTextureFlipped () |
| | is texture flipped. More...
|
| |
| void | setTextureFlipped (bool flipped) |
| | Set the texture flipped or not. More...
|
| |
| var | setTextureFlipped ( var flipped) |
| | Set the texture flipped or not. More...
|
| |
| local | setTextureFlipped ( local flipped) |
| | Set the texture flipped or not. More...
|
| |
| void | set2DProjection (void) |
| | Change projection to 2D for grabbing. More...
|
| |
| bool | initWithSize (const Size &gridSize, Texture2D *texture, bool flipped) |
| local | initWithSize ( local gridSize, local texture, local flipped) |
| bool | initWithSize (const Size &gridSize) |
| bool | isActive (void) const |
| var | isActive () |
| local | isActive () |
| void | setActive (bool active) |
| var | setActive ( var active) |
| local | setActive ( local active) |
| void | beforeDraw (void) |
| void | afterDraw (Node *target) |
| void | retain () |
| | Retains the ownership. More...
|
| |
| void | release () |
| | Releases the ownership immediately. More...
|
| |
| Ref * | autorelease () |
| | Releases the ownership sometime soon automatically. More...
|
| |
| unsigned int | getReferenceCount () const |
| | Returns the Ref's current reference count. More...
|
| |
| virtual | ~Ref () |
| | Destructor. More...
|
| |
Grid3D is a 3D grid implementation.
Each vertex has 3 dimensions: x,y,z