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 ​
VFXSelection | current_selection | |
bool | is_loading | false |
HSeparator | duration_separator | |
Label | duration_label | |
CheckBox | duration_override_check | |
SpinBox | duration_spin | |
CheckBox | tint_check | |
ColorPickerButton | tint_color_button | |
HSlider | tint_strength_slider | |
OptionButton | tint_mode_option | |
VBoxContainer | variety_box | |
ItemList | variety_list | |
OptionButton | variety_option | |
Button | variety_add_button | |
Button | variety_all_button | |
Button | variety_remove_button |
Methods ​
void | initialize_panel() |
void | setup_for_selection( selection: VFXSelection ) |
VFXSelection | get_configured_selection() |
Dictionary | validate_configuration() |
void | reset_to_defaults() |
Array[String] | variety_like( main_name: String, same_name: bool ) |
void | refresh_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)