DetileSlider ​
Inherits: HBoxContainer
A slider with its number written next to it: the control of the detiling numbers (the Terrain Textures editor and the Detiling panel of the terrain tool). It has the parts of a SpinBox the editors use: value, set_value_no_signal, editable and the signal value_changed.
Variables ​
HSlider | slider | |
Label | value_label | |
int | decimals | 2 |
String | suffix | "" |
float: | value | |
bool: | editable |
Methods ​
void | set_tip( text: String ) |
void | set_value_no_signal( new_value: float ) |
Signals ​
value_changed( value: float ) ​
Variable descriptions ​
HSlider slider ​
No description yet.
Label value_label ​
No description yet.
int decimals = 2 ​
How many decimals the number shows (0 for a whole number).
String suffix = "" ​
No description yet.
float: value ​
No description yet.
bool: editable ​
No description yet.
Method descriptions ​
void set_tip( text: String ) ​
The tooltip of the slider and of its number.
void set_value_no_signal( new_value: float ) ​
Sets the number without telling anyone (the editor shows a resource).