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

class ProceduralHeightmapBuilder in Tinman.Terrain.Heightmaps

Helper class for building IHeightmap objects that are based on procedurally generated content (see IScalarFunction and IColorFunction).

sealed class ProceduralHeightmapBuilder implements IBuilder<IHeightmap>

See also:

HeightmapBuilder.Procedural

Public / Constructors

Build

Finishes the build process and returns the resulting object.

[OwnerReturn, OwnerThis]
public method Build ()
type IHeightmap
returns The resulting object.
implements IBuilder.Build

Public / Methods

Coverage

Specifies a noise function for the Coverage layer.

public method Coverage (IScalarFunction noise)
type ProceduralHeightmapBuilder
params noise [not-null] The noise function that returns coverage values in the range [0..1].
returns [not-null] this

Displacement

Specifies a noise function for the Displacement layer.

public method Displacement (IScalarFunction noise)
type ProceduralHeightmapBuilder
params noise [not-null] The noise function that returns terrain-space displacement values.
returns [not-null] this

Elevation

Specifies a noise function for the Elevation layer.

public method Elevation (IScalarFunction noise)
type ProceduralHeightmapBuilder
params noise [not-null] The noise function that returns terrain-space elevation values.
returns [not-null] this

Material

Specifies a noise function for the Material layer.

public method Material (int32 materialId, IScalarFunction noise)
type ProceduralHeightmapBuilder
params materialId [0..255] The material ID.
  noise [not-null] The noise function that returns the material weight in the range [0..1].
returns [not-null] this

Texture

Specifies a noise function for one of the surface layers.

public method Texture (IColorFunction noise)
type ProceduralHeightmapBuilder
params noise [not-null] The noise function that returns terrain surface colors.
returns [not-null] this