TerrainStampPropertiesDialog

Package: Libraries.Interface.Controls.Scenes.Dialogs · Inherits from: Libraries.Interface.Events.TextChangeListener, Libraries.Interface.Controls.Control, Libraries.Interface.Forms.FormPrimitiveContainer, Libraries.Interface.Item, Libraries.Interface.Controls.Scenes.Dialogs.PropertiesDialog, Libraries.Interface.Item2D, Libraries.Language.Object, Libraries.Interface.Events.SelectionListener, Libraries.Interface.Controls.Dialog

The TerrainStampPropertiesDialog is a selected terrain's Stamp section: the Stamp tool's shape (a hill, mountain, mesa, crater or ridge), how it meets the ground, its height and its turn. It shows only while the terrain's Stamp tool is chosen, right after the Brush section. Each click with the Stamp tool presses the shape into the ground at the brush, as big as the brush. "Usual" is each shape's own way: a crater is added (its dip is cut into the ground), and the other shapes raise the ground to the shape. The settings are kept on the EditorTerrain (SetStampShape and the others), so choosing another tool and coming back keeps them.

Actions

FocusField()

Moves the focus to the shape choice.

SelectionChanged(Libraries.Interface.Events.SelectionEvent event)

This action follows the selection: with a terrain selected, the section shows while its Stamp tool is chosen. It also takes the shape and mode as they are chosen.

Parameters

SetFields(Libraries.Interface.Controls.Scenes.Items.EditorItem item)

This action sets the terrain from a selected terrain's highlight.

Parameters

TextChanged(Libraries.Interface.Events.TextChangeEvent event)

The height and turn are taken as they are typed.

Parameters

ToolChanged(Libraries.Interface.Controls.Scenes.Items.EditorTerrain terrain)

Shows the section if a terrain's Stamp tool is chosen, and hides it otherwise. The scene editor calls it when a terrain's tool changes.

Parameters

Inherited Actions

263 actions from Libraries.Interface.Controls.Control
20 actions from Libraries.Interface.Controls.Dialog
35 actions from Libraries.Interface.Controls.Scenes.Dialogs.PropertiesDialog
8 actions from Libraries.Interface.Forms.FormPrimitiveContainer
57 actions from Libraries.Interface.Item
200 actions from Libraries.Interface.Item2D
3 actions from Libraries.Language.Object