Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
Source: addons/grid_placement/ui/build_panel/build_panel.gd
Syntax
class BuildPanel extends PanelContainerMembers
| Name | Kind | Summary |
|---|---|---|
enable_terrain_palette | Property | Build-mode placement panel. Owns ONLY placement selection UI: the Objects/Terrain route tabs and the object catalog / terrain palette panels. It does NOT own save/load, the main menu, the action bar, the resource display, or the target informer — those are separate demo HUD components (see docs/ui/final_clean_demo_hud_requirements.md). Terrain is a developer/template choice, not a player-facing runtime toggle. Set [member enable_terrain_palette] in the Inspector: false -> Objects shown directly; the Terrain tab chrome is hidden. true -> Objects and Terrain share this same panel via the route tabs. When false, the Terrain route tab and terrain palette stay hidden so the panel reads as an object-only catalog. When true, both routes are available. |
place_router_ui | Property | The Objects/Terrain route tab strip. |
placeable_selection_ui | Property | The object catalog panel. |
terrain_palette_ui | Property | The terrain palette panel (only used when terrain is enabled). |
min_width | Property | Minimum panel width in pixels. |
max_width | Property | Maximum panel width in pixels. |
width_ratio | Property | Fraction of viewport width used before clamping to [min_width, max_width]. |
viewport | Property | |
viewport | Property | |
w | Property | |
target_w | Property |
Source
addons/grid_placement/ui/build_panel/build_panel.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs