Skip to content

Class

SceneEntrySelectionUI

Generated GDScript class reference for GridPlacement.SceneEntrySelectionUI.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

The object catalog: a tab for each PlacementProfile, each holding a grid of objects and sequences. Picking one starts placing it. Fill it from folders, from lists, or both. Start from the included scene, which already has the required child nodes: var selection_ui_scene = preload("res://templates/grid_placement_templates/ui/placement_panel/placement_panel.tscn") var selection_ui := selection_ui_scene.instantiate() as SceneEntrySelectionUI selection_ui.scene_entries_folder = "res://my_scene_entries" selection_ui.category_profiles_folder = "res://my_profiles" selection_ui.fixed_template_height = 48 selection_ui.fixed_icon_size = 40 A custom scene must assign ui_root and tab_container.

Source: addons/grid_placement/ui/scene_entry/single/scene_entry_selection_ui.gd

Syntax

class SceneEntrySelectionUI extends PlacementControl

Members

NameKindSummary
valid_changedSignalEmitted when the catalog's setup becomes valid or invalid.
entry_activatedSignalEmitted whenever an object is clicked, even when read_only_catalog is on.
category_selectedSignalEmitted when the visible category tab changes or the tabs are rebuilt.
icon_singlePropertyIcon for the single-cell tool button.
icon_linePropertyIcon for the line tool button.
icon_rectangle_fillPropertyIcon for the filled rectangle tool button.
icon_rectangle_outlinePropertyIcon for the rectangle outline tool button.
category_profiles_folderPropertyFolder of PlacementProfile resources to make category tabs from.
scene_entries_folderPropertyFolder of ScenePlacementEntry resources to list. Used only when no catalog is wired - a wired catalog is authoritative and skips this scan.
sequences_folderPropertyFolder of SceneEntrySequence resources to list. Used only when no catalog is wired - a wired catalog is authoritative and skips this scan.
category_profilesPropertyProfiles to make category tabs from, in addition to category_profiles_folder. This is the AUTHORED list, and it is not the whole answer: when it and the folder are both empty the panel derives the categories from the entries. Read _effective_profiles() for the list the panel actually renders.
category_groupsPropertyGroups that split the category tabs into a second row of tabs. Needs category_group_bar. Profiles no group lists appear in an "Other" group. Groups only filter which tabs show; rules and tools do not change.
scene_entriesPropertyObjects to list, in addition to scene_entries_folder. Always listed, catalog or not.
sequencesPropertySequences to list, in addition to sequences_folder. Each takes one slot and cycles through its variants. Always listed, catalog or not.
grid_columnsPropertyNumber of columns. 1 shows a single-column list.
scene_entry_templatePropertyScene for each object. Its root must be a SceneEntryView.
sequence_entry_templatePropertyScene for each sequence. Its root must be a SceneEntryListEntry.
fixed_template_heightPropertyHeight of each entry, in pixels. 0 lets entries size to their content.
fixed_icon_sizePropertyWidth and height of each icon, in pixels. 0 keeps the scene's size.
show_category_tab_namesPropertyWhether category tabs show their names. When off, tabs show only icons.
hide_ui_on_selectionPropertyHides the catalog after an object is picked.
read_only_catalogPropertyWhen on, clicking an object does not start placing it. Connect to entry_activated to handle clicks yourself.
ui_rootPropertyRoot control shown and hidden as a whole.
tab_containerPropertyHolds one tab per category.
category_group_barPropertyHolds one tab per category_groups entry. Hidden when there are no groups. Leave empty to show every category without grouping.
tool_shape_containerPropertyHolds the tool buttons (single, line, rectangle). Leave empty to hide them.
get_mode_stateMethod
resolve_placement_dependenciesMethod
resolve_placement_runtimeMethod
rebuildMethod
clearMethod
set_active_entryMethod
get_active_entryMethod
clear_active_selectionMethod
available_object_toolsMethod
get_runtime_issuesMethod