Skip to content

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 ​

LineEditsearch_barnull
ItemListitem_listnull
Labelstats_labelnull
Buttoncreate_buttonnull
Buttonrefresh_buttonnull
Labeltitle_labelnull
Labelpath_labelnull
Buttonopen_buttonnull
VBoxContainercontentnull
Array[Dictionary]entries[]
Array[Dictionary]shown[]
Dictionaryselected{}
AssetThumbnailspicturesAssetThumbnails.new(PICTURES_FOLDER)

Methods ​

voidreload()
voidselect_entry( entry: Dictionary )
voidselect_path( path: String )

Constants ​

  • String PICTURES_FOLDER = "res://src/data/model_scenes/.thumbnails/" - The pictures of the scenes (drawn by the editor, kept in this folder)

Variable descriptions ​

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