RandomHeightmap

Description

sealed class Tinman.Terrain.Heightmaps.RandomHeightmap

Derived from

Heightmap abstract

A IHeightmap implementation that returns pseudo-random samples.

Public / Constructors

Random​Heightmap

2 overloads


public constructor RandomHeightmap1 → (2)

size in : int32

The cubemap size.

layers opt : HeightmapLayer = HeightmapLayer.All

The heightmap layers.

Creates a new instance of RandomHeightmap.

See also

MapType.Cube


public constructor RandomHeightmap2 → (3)

width in : int32

The rectangular map width.

height in : int32

The rectangular map height.

layers opt : HeightmapLayer = HeightmapLayer.All

The heightmap layers.

Creates a new instance of RandomHeightmap.

See also

MapType.Rect

Public / Methods

Randomize


public method Randomize → (1)

seed in : int32

The seed value.

returns → RandomHeightmap

this

Seed the random number generator that is used to compute heightmap samples.

See also

RandomNumber