TerrainMaterialButtonBehavior
Package: Libraries.Interface.Behaviors.Scenes.Properties · Inherits from: Libraries.Language.Object, Libraries.Interface.Behaviors.Behavior
The TerrainMaterialButtonBehavior is a button in a terrain's Materials section: "Add material...", or a layer's "Choose..." or "Remove". It tells the section which was pressed.
Actions
Run(Libraries.Interface.Events.BehaviorEvent event)
Sets which section and button this is.
Parameters
Setup(Libraries.Interface.Controls.Scenes.Dialogs.TerrainMaterialsPropertiesDialog dialog, integer kind, integer layer)
Sets which section and button this is.
Parameters
dialogLibraries.Interface.Controls.Scenes.Dialogs.TerrainMaterialsPropertiesDialog: The Materials sectionkindinteger: The section's ADD, CHOOSE or REMOVElayerinteger: The layer, from 0, for CHOOSE and REMOVE