TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IHeightmapLayers in Tinman.Terrain.Heightmaps

Base interface for classes that operate on a set of heightmap layers.

interface IHeightmapLayers base of HeightmapPainter
  HeightmapSample
  IBrush
  IBrushMask
  IHeightmap
  IHeightmapBuffer
  IHeightmapFormat
  IPixelLayer

Attributes

LayerMask

The mask of heightmap layers this object uses.

property LayerMask { get }
type HeightmapLayer
value Bitwise combination of HeightmapLayer values.

Remarks:

These heightmap layers store actual terrain data:

Missing data is represented with the 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 Coverage means that all samples are fully solid. If a LayerMask contains the Coverage layer but no others, the coverage values are used to represent 'holes' in the terrain (e.g. creating holes for caves, tunnels, etc.).