HeightmapSample
Public / Constants
MaxValue30
Maximum absolute value for signed 30-bit scalar heightmap sample values.
Scalar values are interpreted as normalized values in the range [-1..1], where -1 resp. 1 corresponds to the negative resp. positive value of MaxValue30. The normalized range is then mapped to some application-specific range (see VerticalRange).
Public / Methods
Equals
2 overloads
Compares this heightmap sample with the given other in one, taking into account only the specified layers in.
Public / Attributes
Coverage
The relative sample coverage value, ranging from 0 (no coverage) to MaxValue30 (full coverage).
The default coverage value is MaxValue30.
Displacement
The normalized displacement value along the terrain-space normal vector.
The default displacement value is 0.
Elevation
The normalized elevation value along the terrain-space up vector.
The default elevation value is 0.
Material
The token (see MaterialToken) value that describes the material of the terrain surface.
The default color value is 0 (no material).
Texture
The color (see Colors) value that describes the texture of the terrain surface.
The default color value is 0 (transparent black).