TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct Tinman.Widget.TerrainView.Layer

Short Name:
  • struct TerrainView.Layer
Fields:

A texture layer in a terrain viewer.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
optional name string  
null

Human-readable name of this layer.

optional index number  
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.

optional opaque bool  
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.

optional texture Tinman.Pyramid  
null

The pixel pyramid of this terrain layer.

optional textureId number  
-1

The pixel pyramid ID to use for caching.

optional region Heightmap  
null

The dataset for which to highlight existing data regions.

optional regionColor Tinman.Color  
Colors.Zero

The color to use for highlighting existing data regions.

Usages

The following table shows all usages of this config type.

Used By: