CanvasFactoryHeightmap

Description

sealed class Tinman.Terrain.Tools.CanvasFactoryHeightmap

Derived from

CanvasFactory abstract

A ICanvasFactory for visualizing IHeightmap objects.

Public / Constructors

Canvas​Factory​Heightmap


public constructor CanvasFactoryHeightmap → (1)

heightmap in : IHeightmap own

[not-null]
The heightmap to use.

Creates a new instance of CanvasFactoryHeightmap.

Public / Attributes

Block​Size


public attribute BlockSize → (get,set)

value : int32

[>0]
The block size, in canvas raster samples.

Size of a canvas block.

For PixelCoverage.PixelIsPoint semantics, the block size is a power of two plus one. For PixelCoverage.PixelIsArea semantics, the block size is a power of two.

Heightmap


public attribute Heightmap → (get)

value : IHeightmap

[not-null]
The heightmap instance.

The heightmap to use.

Layer


public attribute Layer → (get,set)

value : IPixelLayer

The pixel layer instance or null to create a default one.

The pixel layer to use.

Smooth


public attribute Smooth → (get,set)

value : bool

true to use Uniform-B interpolation, false to use Catmull-Rom interpolation.

Chooses the interpolation mode.