Support Forum G3D Web Page |
Public Member Functions | |
Specification () | |
Specification (const Any &any) | |
Public Attributes | |
String | filename |
The heightfield image, which must be convertible to R8 format. More... | |
UniversalMaterial::Specification | material |
float | maxElevation |
Maximum height in meters of the heightfield. More... | |
float | metersPerPixel |
Controls scale. More... | |
float | metersPerTexCoord |
Material texture coordinate scale. More... | |
int | pixelsPerQuadSide |
Controls triangle tessellation. More... | |
int | pixelsPerTileSide |
Controls tiling resolution. More... | |
G3D::HeightfieldModel::Specification::Specification | ( | ) |
G3D::HeightfieldModel::Specification::Specification | ( | const Any & | any | ) |
String G3D::HeightfieldModel::Specification::filename |
The heightfield image, which must be convertible to R8 format.
UniversalMaterial::Specification G3D::HeightfieldModel::Specification::material |
float G3D::HeightfieldModel::Specification::maxElevation |
Maximum height in meters of the heightfield.
This multiplies the texture values.
float G3D::HeightfieldModel::Specification::metersPerPixel |
Controls scale.
float G3D::HeightfieldModel::Specification::metersPerTexCoord |
Material texture coordinate scale.
The material texture coordinates tiles multiple times over the heightfield.
int G3D::HeightfieldModel::Specification::pixelsPerQuadSide |
Controls triangle tessellation.
int G3D::HeightfieldModel::Specification::pixelsPerTileSide |
Controls tiling resolution.