Colobot
|
Material for ground surface. More...
#include <terrain.h>
Public Attributes | |
short | id = 0 |
Unique ID. More... | |
std::string | texName |
Texture. More... | |
Math::Point | uv |
UV texture coordinates. More... | |
float | hardness = 0.0f |
Terrain hardness (defines e.g. sound of walking) More... | |
char | mat [4] = {} |
IDs of neighbor materials: up, right, down, left. More... | |
Material for ground surface.
short Gfx::CTerrain::TerrainMaterial::id = 0 |
Unique ID.
std::string Gfx::CTerrain::TerrainMaterial::texName |
Math::Point Gfx::CTerrain::TerrainMaterial::uv |
UV texture coordinates.
float Gfx::CTerrain::TerrainMaterial::hardness = 0.0f |
Terrain hardness (defines e.g. sound of walking)
char Gfx::CTerrain::TerrainMaterial::mat[4] = {} |
IDs of neighbor materials: up, right, down, left.