Editor-facing UI (PlacementControl) for picking the active terrain and brush mode. Emits terrain_selected when the user picks a terrain and valid_changed when the selection becomes valid/invalid; wire to GridTargetingState + PlacementSession.
Source: addons/grid_placement/ui/terrain/terrain_palette_ui.gd
Syntax
class TerrainPaletteUI extends PlacementControlMembers
| Name | Kind | Summary |
|---|---|---|
terrain_selected | Event | |
valid_changed | Event | |
terrain_palette | Property | |
grid_columns | Property | |
terrain_entry_template | Property | |
fixed_template_height | Property | |
hide_ui_on_selection | Property | |
ui_root | Property | |
grid_container | Property | |
brush_shape_container | Property | |
resolve_placement_dependencies | Method | |
states | Property | |
resolve_placement_runtime | Method | |
found | Property | |
config_path | Property | |
fresh | Property | |
rebuild | Method | |
issues | Property | |
clear | Method | |
get_runtime_issues | Method | |
issues | Property | |
has_palette | Property | |
tile_set | Property | |
tileset_terrains | Property | |
palette_entries | Property | |
tile_set | Property | |
catalog | Property | |
available_names | Property | |
seen | Property | |
entry | Property | |
resolved | Property | |
entry_view | Property | |
display_name | Property | |
entry_node | Property | |
entry | Property | |
catalog | Property | |
entry | Property | |
selected | Property | |
current_shape | Property | |
shape_defs | Property | |
button | Property | |
shape | Property | |
style | Property | |
label | Property | |
label | Property |