A catalog entry showing one object's icon and name. Clicking it emits entry_selected. Usage: var view = SceneEntryView.new() view.scene_entry = my_entry view.fixed_view_height = 48 view.fixed_icon_size = 40 view.entry_selected.connect(_on_entry_selected)
Source: addons/grid_placement/ui/scene_entry/single/scene_entry_view.gd
Syntax
class SceneEntryView extends SelectionEntryViewBaseMembers
| Name | Kind | Summary |
|---|---|---|
entry_selected | Signal | Emitted when the player clicks this entry. Passes the entry's object. |
scene_entry | Property | The object shown. Its icon and display name fill the view. |
set_read_only | Method | |
set_selected | Method | |
is_selected | Method | |
set_locked | Method | |
format_costs | Method | |
collect_costs | Method |
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot