HeightmapSampleGui
Description
- Derived from
| Full source code is included in the Tinman 3D SDK download. | 
A GUI component that displays the values of a HeightmapSample.
The following default Layout settings are defined for LightingGui objects:
Public / Attributes
LayerMask
The mask of heightmap layers this object uses.
These heightmap layers store actual terrain data:
- 
HeightmapLayer.Elevation: 
 The terrain elevation, measured upwards from the base geometry (usually an ellipsoid). See VerticalRange.
- 
HeightmapLayer.Displacement: 
 The terrain displacement, measured upwards from the terrain geometry. See VerticalRange.
- 
HeightmapLayer.Texture: 
 A 64-bit ARGB color value that describes the terrain surface (e.g. surface reflectance). See Colors.
- 
HeightmapLayer.Material: 
 A 64-bit ARGB material token that describes the terrain surface (e.g. land cover). See MaterialToken.
Missing data is represented with the HeightmapLayer.Coverage layer. It describes how much information is present in a stored heightmap sample. The semantics of coverage with heightmap samples is the same as premultiplied alpha with texture samples. A LayerMask without HeightmapLayer.Coverage means that all samples are fully solid. If a LayerMask contains the HeightmapLayer.Coverage layer but no others, the coverage values are used to represent 'holes' in the terrain (e.g. creating holes for caves, tunnels, etc.).