One-click starter setup builder for Grid Placement scenes. Creates the node hierarchy and starter resources for a chosen scene type without replacing existing nodes/resources. Reports created vs. preserved.
Source: addons/grid_placement/tools/scene_setup_builder.gd
Syntax
class SceneSetupBuilder extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
PANEL_TEMPLATE | Field | The full HUD the UI setup instances, and the theme applied when it ships with the templates. Both are template paths: a project can restyle the HUD or swap the theme without touching the setup. |
ACTION_LOG_TEMPLATE | Field | |
TARGET_INFORMER_TEMPLATE | Field | |
MODE_SWITCH_BAR_TEMPLATE | Field | |
PANEL_THEME | Field | |
TEMPLATES_ROOT | Field | Where the starter UI lives in a consumer project. Setup Scene writes the rig without it (plugin.tar.gz only); Setup UI needs templates.tar.gz extracted. |
TEMPLATES_ARCHIVE_HINT | Field | |
is_3d | Method | |
build_scene | Method | |
build_hierarchy | Method | |
entries | Property | |
palette | Property | |
entries | Property | |
path | Property | |
entry | Property | |
err | Property | |
build_ui | Method | |
template | Property | |
node | Property | |
control | Property | |
HUD_PANEL_HEIGHT_RATIO | Field | Share of the viewport height the default panel may occupy. The rest of the right column stays clickable grid. |
HUD_NARROW_WIDTH | Field | Below this viewport width the centred mode bar reaches the bottom-left action log (measured: 960x540, bar starts at x=311, log ends at x=396), so the log moves above the bar instead. 1280x720, 1920x1080 and 1366x768 clear it. |