Heightmap.Memory

Description

Name

class Tinman.Heightmap.Memory

Derived from

Heightmap

A heightmap that stores samples in main memory.

The sample storage support sparse data, which means that memory consumption is proportional to the number of actually stored samples and independent of the heightmap size.

Fields / Optional

width

Type

number

Constraint

# >= 0

Default

0

Width of rectangular memory heightmap.


height

Type

number

Constraint

# >= 0

Default

0

Height of rectangular memory heightmap.


size

Type

number

Constraint

# >= 0

Default

0

Size of cubemap memory heightmap.


layers

Type

Heightmap.Layer[]

Default

[Coverage, Displacement, Elevation, Texture, Material]

The heightmap layers.


coverage

Type

Coverage.Type

Default

Coverage.Type.PixelIsPoint

Sample coverage semantic of rectangular memory heightmap.


range

Type

Vertical.Range

Default

null

Vertical range of memory heightmap.


georef

Type

Tinman.Georef

Default

null

Optional georeferencing 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.