Objects and Terrain tabs that switch between the object catalog and the terrain palette in build mode. Used by PlacementPanel.
Source: addons/grid_placement/ui/place_router/place_router_ui.gd
Syntax
class PlaceRouterUI extends PlacementControlMembers
| Name | Kind | Summary |
|---|---|---|
MANAGED_META | Field | Metadata key set on the panels this node shows and hides, so the panels leave their own visibility to it. |
route_selected | Signal | Which tab is shown: none, terrain, or objects. Emitted when a tab is chosen. |
default_route | Property | Tab opened at start when nothing is selected yet. NONE shows neither until the player picks a tab. PlacementPanel.startup_route can override this. |
ui_root | Property | Root control shown and hidden as a whole. |
terrain_button | Property | Button for the Terrain tab. |
objects_button | Property | Button for the Objects tab. |
terrain_panel | Property | Panel shown on the Terrain tab. |
objects_panel | Property | Panel shown on the Objects tab. |
brush_shape_bar | Property | Brush tool buttons (single, line, rectangle) shared by both tabs. |
current_route | Property | |
resolve_placement_dependencies | Method | |
apply_default_route | Method | |
clear_route_selection | Method | |
resolve_placement_runtime | Method | |
get_runtime_issues | Method | |
select_terrain_route | Method | |
select_objects_route | Method |