TerrainView.Layer

Description

Name

struct Tinman.Widget.TerrainView.Layer

Used by

TerrainView.layers

A texture layer in a terrain viewer.

Fields / Optional

name

Type

string

Default

null

Human-readable name of this layer.


index

Type

number

Default

0

The sort index value of this terrain layer.

Layers with larger sort index values are rendered on top of those with smaller sort index values.


opaque

Type

bool

Default

false

This hint tells that the terrain layer is opaque and thus fully hides all layers below (i.e. those having sort indices that are less than its own), when rendered without a distance blend range.


texture

Type

Pyramid

Default

null

The pixel pyramid of this terrain layer.


textureId

Type

number

Default

-1

The pixel pyramid ID to use for caching.


region

Type

Heightmap

Default

null

The dataset for which to highlight existing data regions.


regionColor

Type

Tinman.Color

Default

{Color.Name: Zero}

The color to use for highlighting existing data regions.