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

class Tinman.Pixel.Contour

Short Name:
  • class Contour
Derived From:
Fields:

Renders contour lines onto the target pixel buffer.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required source Pixel
# != null
 

The source pixel layer.

required value Value    

The contour values.

required range Contour.Range    

The contour settings.

optional strength number
# >= 0 && # < 1
0

The strength of contour lines: 0 is light and 31 is heavy.

optional colorLine Tinman.Color  
Colors.Zero

Color of contour lines. Set to 0 to disable contour lines.

optional colorFill Tinman.Color  
Colors.Zero

Color of contour fill. Set to 0 to disable contour fill.

optional material number
# >= 0 && # <= 255
0

The material ID to use if value is Value.Material.