Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::HeightfieldModel::Specification Class Reference

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

Constructor & Destructor Documentation

◆ Specification() [1/2]

G3D::HeightfieldModel::Specification::Specification ( )

◆ Specification() [2/2]

G3D::HeightfieldModel::Specification::Specification ( const Any any)

Member Data Documentation

◆ filename

String G3D::HeightfieldModel::Specification::filename

The heightfield image, which must be convertible to R8 format.

◆ material

UniversalMaterial::Specification G3D::HeightfieldModel::Specification::material

◆ maxElevation

float G3D::HeightfieldModel::Specification::maxElevation

Maximum height in meters of the heightfield.

This multiplies the texture values.

◆ metersPerPixel

float G3D::HeightfieldModel::Specification::metersPerPixel

Controls scale.

◆ metersPerTexCoord

float G3D::HeightfieldModel::Specification::metersPerTexCoord

Material texture coordinate scale.

The material texture coordinates tiles multiple times over the heightfield.

◆ pixelsPerQuadSide

int G3D::HeightfieldModel::Specification::pixelsPerQuadSide

Controls triangle tessellation.

◆ pixelsPerTileSide

int G3D::HeightfieldModel::Specification::pixelsPerTileSide

Controls tiling resolution.


documentation generated on Wed Nov 24 2021 08:01:57 using doxygen 1.8.15