#include <tile.h>
Collaboration diagram for TileSpec:Public Member Functions | |
| TileSpec ()=default | |
Public Attributes | |
| bool | world_aligned = false |
| If true, the tile rotation is ignored. | |
| TileRotation | rotation = TileRotation::None |
| Tile rotation. | |
| u8 | emissive_light = 0 |
| This much light does the tile emit. | |
| TileLayer | layers [MAX_TILE_LAYERS] |
| The first is base texture, the second is overlay. | |
Defines a face of a node. May have up to two layers.
|
default |
| u8 TileSpec::emissive_light = 0 |
This much light does the tile emit.
| TileLayer TileSpec::layers[MAX_TILE_LAYERS] |
The first is base texture, the second is overlay.
Referenced by MeshCollector::append(), MapblockMeshGenerator::drawFencelikeNode(), MapblockMeshGenerator::drawSolidNode(), getNodeTileN(), MapblockMeshGenerator::getSpecialTile(), and MapblockMeshGenerator::useTile().
| TileRotation TileSpec::rotation = TileRotation::None |
Tile rotation.
Referenced by MapblockMeshGenerator::drawFencelikeNode(), getNodeTile(), and setupCuboidVertices().
| bool TileSpec::world_aligned = false |
If true, the tile rotation is ignored.
Referenced by MeshCollector::append(), and getNodeTile().