Skip to content

VFXSelectionPropertyPanel ​

Inherits: VBoxContainer

Inherited by: VFXSelectionBeamProperties, VFXSelectionEnchantProperties, VFXSelectionLoopProperties, VFXSelectionMaterialProperties, VFXSelectionOneShotProperties, VFXSelectionPathProperties, VFXSelectionTelegraphProperties, VFXSelectionTransformationProperties

Base class for VFX selection property panels Each VFX selection type gets its own specialized panel

Variables ​

VFXSelectioncurrent_selection
boolis_loadingfalse
HSeparatorduration_separator
Labelduration_label
CheckBoxduration_override_check
SpinBoxduration_spin
CheckBoxtint_check
ColorPickerButtontint_color_button
HSlidertint_strength_slider
OptionButtontint_mode_option
VBoxContainervariety_box
ItemListvariety_list
OptionButtonvariety_option
Buttonvariety_add_button
Buttonvariety_all_button
Buttonvariety_remove_button

Methods ​

voidinitialize_panel()
voidsetup_for_selection( selection: VFXSelection )
VFXSelectionget_configured_selection()
Dictionaryvalidate_configuration()
voidreset_to_defaults()
Array[String]variety_like( main_name: String, same_name: bool )
voidrefresh_variety( main_name: String )

Signals ​

properties_changed() ​

validation_changed( is_valid: bool, warnings: Array[String] ) ​

Variable descriptions ​

VFXSelection current_selection ​

No description yet.

bool is_loading = false ​

No description yet.

HSeparator duration_separator ​

No description yet.

Label duration_label ​

No description yet.

CheckBox duration_override_check ​

No description yet.

SpinBox duration_spin ​

No description yet.

CheckBox tint_check ​

No description yet.

ColorPickerButton tint_color_button ​

No description yet.

HSlider tint_strength_slider ​

No description yet.

OptionButton tint_mode_option ​

No description yet.

VBoxContainer variety_box ​

The VARIETY (2026-11-14): more effects played in its place, one picked at random each time (the whole section: hidden for the kinds that play one fixed thing: a material, a telegraph, a weather)

ItemList variety_list ​

No description yet.

OptionButton variety_option ​

No description yet.

Button variety_add_button ​

No description yet.

Button variety_all_button ​

No description yet.

Button variety_remove_button ​

No description yet.

Method descriptions ​

void initialize_panel() ​

Initialize the panel (called once on creation)

void setup_for_selection( selection: VFXSelection ) ​

Setup panel for a specific selection

VFXSelection get_configured_selection() ​

Get the configured selection object

Dictionary validate_configuration() ​

Validate current configuration

void reset_to_defaults() ​

Reset to default values

Array[String] variety_like( main_name: String, same_name: bool ) ​

The effects like main_name that can be added: the same kind, theme and category (same_name: also the same name, every number of it), not the main one

void refresh_variety( main_name: String ) ​

Shows the variety, and the effects like the main one to add (the dialog calls it when another effect is chosen)