TerrainLayerListGui

Description

sealed class Tinman.AddOns.Components.TerrainLayerListGui

Full source code is included in the Tinman 3D SDK download.

A GUI component that displays the list of TerrainLayer objects in a TerrainMesh and allows to set some properties.

The following default Layout settings are defined for TerrainLayerListGui objects:

Public / Constants

Label​Base


[Localized]
public constant LabelBase → ("BAS":string)

Label for terrain layers of type TerrainLayerType.Base.

Label​Batches


[Localized]
public constant LabelBatches → ("Batches?":string)

Label for toggling display of the terrain texture batches.

Label​Lighting


[Localized]
public constant LabelLighting → ("Lighting":string)

Label for toggling lighting for the terrain layer.

Label​Lighting​Disabled


[Localized]
public constant LabelLightingDisabled → ("disabled":string)

Label for show when terrain layer lighting is disabled.

Label​Lighting​Normal​Map​Textures


[Localized]
public constant LabelLightingNormalMapTextures → ("normal-map textures":string)

Label for show when terrain layer is lit with normal-map textures.

Label​Lighting​Vertex​Normals


[Localized]
public constant LabelLightingVertexNormals → ("per-vertex normals":string)

Label for show when terrain layer is lit with per-vertex normal.s

Label​Material


[Localized]
public constant LabelMaterial → ("MAT":string)

Label for terrain layers of type TerrainLayerType.Material.

Label​Mipmap​Offset


[Localized]
public constant LabelMipmapOffset → ("Mipmap offset":string)

Label for fine-tuning the mipmap offset of the terrain textures.

Label​Prepare


[Localized]
public constant LabelPrepare → ("Prepare":string)

Label for toggling the content prepare flag of the terrain layer.

Label​Region


[Localized]
public constant LabelRegion → ("REG":string)

Label for terrain layers of type TerrainLayerType.Region.

Label​Texture


[Localized]
public constant LabelTexture → ("TEX":string)

Label for terrain layers of type TerrainLayerType.Texture.

Label​Visible


[Localized]
public constant LabelVisible → ("Visible":string)

Label for toggling the visibility of the terrain layer.

Public / Constructors

Terrain​Layer​List​Gui


public constructor TerrainLayerListGui → ()

Creates a new instance of TerrainLayerListGui.

Public / Attributes

Terrain​Mesh


public attribute TerrainMesh → (get,set)

value : TerrainMesh

The terrain mesh or null.

The terrain mesh of which to show the list of layers.