Colobot
Public Attributes | List of all members
Gfx::CTerrain::TerrainMaterial Struct Reference

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...
 

Detailed Description

Material for ground surface.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: