TerrainView

Description

Name

class Tinman.Widget.TerrainView

Derived from

Tinman.Widget

Interactive viewer for the given 3D terrain.

Fields / Required

settings

Type

path

Path to a directory that this widget can use to store own data and settings.


heightmap

Type

Heightmap

Constraint

# != null

The heightmap that stores terrain elevation values as ellipsoid height.

Fields / Optional

gravity

Type

Heightmap

Default

null

Optional heightmap that stores gravity-related offsets from the ellipsoid surface.


cache

Type

Cache

Default

null

The pyramid file cache to use or null for none.


layers

Type

TerrainView.Layer[]

Default

null

The texture layers to use for the viewer. If empty, a set of default layers will be created.