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

class Tinman.Canvas.HeightmapSource

Short Name:
  • class HeightmapSource
Derived From:
Fields:

A canvas that fetches data from a Heightmap.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required source Heightmap
# != null
 

The source heightmap.

optional layer Pixel  
null

The pixel layer to use for generating canvas block from heightmap data.

optional smooth bool  
false

Chooses the interpolation mode: true to use Uniform-B interpolation, false to use Catmull-Rom interpolation.

optional block number
# > 0
128

The block size in pixels; will be round up to the smallest valid value, if necessary.