![]() |
Walls And Holes
1
|
A collection of methods for generating tile mesh data. More...
#include <m2mtilemesher.h>
Public Member Functions | |
virtual | ~AbstractTileMesher () |
virtual QVector< QSharedPointer< SimpleTexturedObject > > | makeMesh (QVector2D offset)=0 |
makeMesh Creates the mesh for this tile. More... | |
Static Public Member Functions | |
static QSharedPointer< AbstractTileMesher > | getMesherForTile (const TileMap *tileMap, QPoint tilePoint) |
Returns a TileMesher instance that will create the mesh for the given tile, or, if the tile has not changed (determined by oldMesher), returns nullptr. More... | |
Protected Member Functions | |
AbstractTileMesher (TileNeighborhoodInfo nbhd) | |
Protected Attributes | |
TileNeighborhoodInfo | mTileNeighborhood |
Information for each tile in the 3x3 neighborhood of the tile to which this mesher is associated. More... | |
A collection of methods for generating tile mesh data.
|
inlinevirtual |
|
protected |
|
static |
Returns a TileMesher instance that will create the mesh for the given tile, or, if the tile has not changed (determined by oldMesher), returns nullptr.
|
pure virtual |
makeMesh Creates the mesh for this tile.
Implemented in M2M::AbstractPolygonTileMesher.
|
protected |
Information for each tile in the 3x3 neighborhood of the tile to which this mesher is associated.