Skip to content

Class

PlaceRouterUI

Generated GDScript class reference for GridPlacement.PlaceRouterUI.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Source: addons/grid_placement/ui/place_router/place_router_ui.gd

Syntax

class PlaceRouterUI extends PlacementControl

Members

NameKindSummary
MANAGED_METAFieldMeta key stamped onto panels this router manages. Panels check it to suppress their own show/hide and mode-reset behavior — the router owns their visibility. Meta (not parent checks) because the demo wires panels as SIBLINGS via NodePaths; structural assumptions broke the handshake.
route_selectedSignal
default_routePropertyRoute auto-selected once placement dependencies resolve and the session has no active selection. NONE preserves the legacy behavior (panel stays empty until the player picks a route tab). Demos set Objects; BuildPanel.startup_route can drive last-remembered at runtime.
ui_rootProperty
terrain_buttonProperty
objects_buttonProperty
terrain_panelProperty
objects_panelProperty
brush_shape_barPropertyShared brush-shape selector row, bound to this router in _ready.
current_routeProperty
resolve_placement_dependenciesMethod
apply_default_routeMethod
clear_route_selectionMethod
resolve_placement_runtimeMethod
get_runtime_issuesMethod
select_terrain_routeMethod
select_objects_routeMethod