Heightmap.Constant

Description

Name

class Tinman.Heightmap.Constant

Derived from

Heightmap

A heightmap that always returns a constant heightmap sample.

Fields / Required

sample

Type

Sample

The constant heightmap sample to return.

Fields / Optional

width

Type

number

Constraint

# >= 0

Default

0

Width of rectangular constant heightmap.


height

Type

number

Constraint

# >= 0

Default

0

Height of rectangular constant heightmap.


size

Type

number

Constraint

# >= 0

Default

0

Size of cubemap constant heightmap.


layers

Type

Heightmap.Layer[]

Default

[None]

The heightmap layers.


coverage

Type

Coverage.Type

Default

Coverage.Type.PixelIsPoint

Sample coverage semantic of rectangular constant heightmap.


range

Type

Vertical.Range

Default

null

Vertical range of constant heightmap.


georef

Type

Tinman.Georef

Default

null

Optional geo-referencing information.

Fields / External

id

Type

Dataset.Id

Returns a unique identifier for this dataset.


metadata

Returns dataset metadata information.


info

Holds detail information about this heightmap.