PixelContourDelegate

Description

delegate Tinman.Terrain.Heightmaps.Painting.PixelContourDelegate

elevation : float64

The terrain-space elevation.

slope : float64

The terrain slope angle, in degrees.

texture : int64

The surface texture color (see Colors).

material : int64

The material token (see MaterialToken).

returns → int32

The contour value. Non-zero values will allow shading, changing values will create contour lines.

Computes the contour value for a pixel on a pixel map.

See also

IPixelLayer