SceneListEditor ​
Inherits: HSplitContainer
Inherited by: InteractableScenesEditor, SkeletonsEditor
THE LIST SIDE of the scene tabs of Entity Assets (2026-11-14: Model Scenes split in two, Skeletons and Interactable Scenes): the scenes as a list with a picture of each and a search, a Create button, Refresh, and on the right what the tab shows of the selected scene, under a line with its name, its file and Open in Editor. A tab extends it: _load_entries (the scenes), _create (the Create button), _show_entry (the selected one), and puts its own controls in content.
Variables ​
LineEdit | search_bar | null |
ItemList | item_list | null |
Label | stats_label | null |
Button | create_button | null |
Button | refresh_button | null |
Label | title_label | null |
Label | path_label | null |
Button | open_button | null |
VBoxContainer | content | null |
Array[Dictionary] | entries | [] |
Array[Dictionary] | shown | [] |
Dictionary | selected | {} |
AssetThumbnails | pictures | AssetThumbnails.new(PICTURES_FOLDER) |
Methods ​
void | reload() |
void | select_entry( entry: Dictionary ) |
void | select_path( path: String ) |
Constants ​
StringPICTURES_FOLDER ="res://src/data/model_scenes/.thumbnails/"- The pictures of the scenes (drawn by the editor, kept in this folder)
Variable descriptions ​
LineEdit search_bar = null ​
No description yet.
ItemList item_list = null ​
No description yet.
Label stats_label = null ​
No description yet.
Button create_button = null ​
No description yet.
Button refresh_button = null ​
No description yet.
Label title_label = null ​
The line over the right side: the name and file of the selected scene, Open in Editor
Label path_label = null ​
No description yet.
Button open_button = null ​
No description yet.
VBoxContainer content = null ​
Where a tab puts what it shows of the selected scene
Array[Dictionary] entries = [] ​
Every scene: [{name, display_name, path, file_name}], those the search shows, the one selected
Array[Dictionary] shown = [] ​
No description yet.
Dictionary selected = ​
No description yet.
AssetThumbnails pictures = AssetThumbnails.new(PICTURES_FOLDER) ​
No description yet.
Method descriptions ​
void reload() ​
Looks for the scenes again (keeps the selected one)
void select_entry( entry: Dictionary ) ​
Selects a scene ({} none)
void select_path( path: String ) ​
Selects a scene by its file