Heightmap.MapShapes

Description

Name

class Tinman.Heightmap.MapShapes

Derived from

Heightmap

A heightmap that rasterizes vector shapes.

Fields / Required

shapes

Type

Heightmap.MapShape[]

Constraint

# != null

The heightmap vector shapes to render.

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.


range

Type

Vertical.Range

Default

null

Vertical range of memory heightmap.


georef

Type

Tinman.Georef

Default

null

Optional georeferencing information.


accuracy

Type

number

Constraint

# > 0

Default

0

Optional accuracy to use for subdivision of vector shape edges. Given as a maximum error in the georeference coordinate system of this heightmap.

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.