HeightmapRegionPyramid

Description

sealed class Tinman.Terrain.Pyramids.HeightmapRegionPyramid

Derived from

PixelPyramid abstract

A PixelPyramid that colors those areas that are covered by IHeightmap objects.

Public / Constructors

Heightmap​Region​Pyramid


public constructor HeightmapRegionPyramid → (1)

type in : MapType

The map type to use.

Creates a new instance of HeightmapRegionPyramid.

The full size of the pyramid is always MappingUtil.MaxSize.

Public / Methods

Layer​Add


public method LayerAdd → (2)

heightmap in : IHeightmap own

[not-null]
The heightmap.

color in : int64

The color to use.

Sets the color to use for those areas that are covered by the given heightmap.

Layer​Clear


public method LayerClear → ()

Removes all heightmaps.

Layer​Remove


public method LayerRemove → (1)

heightmap in : IHeightmap

[not-null]
The heightmap which region layer to remove.

Removes the region layer of the given heightmap.