TileMapRender¶
Inherited: None
Description¶
TileMapRender is a class designed for rendering tile maps within Thunder Engine. It manages the rendering of a tile map, including handling materials, layers, and transformations.
Public Methods¶
int |
layer () const |
void |
setLayer (int layer) |
void |
setMaterial (Material * material) |
void |
setTileMap (TileMap * map) |
TileMap * |
tileMap () const |
Static Methods¶
None
Methods Description¶
int TileMapRender::layer () const
Returns the redering priority for the tile map.
See also setLayer().
void TileMapRender::setLayer (int layer)
Sets the redering layer for the tile map.
See also layer().
void TileMapRender::setMaterial (Material * material)
Reimplements: Renderable::setMaterial(Material *material).
Creates a new instance of material and assigns it.
void TileMapRender::setTileMap (TileMap * map)
Sets the tile map associated with this TileMapRender.
See also tileMap().
TileMap * TileMapRender::tileMap () const
Returns a pointer to the tile map associated with this TileMapRender.
See also setTileMap().