Vector3Control ​
Inherits: HBoxContainer
Three spinboxes for Vector3 input with clipboard paste support
Variables ​
Vector3 | current_value | Vector3.ZERO |
SpinBox | x_spinbox | |
SpinBox | y_spinbox | |
SpinBox | z_spinbox | |
PopupMenu | popup_menu | |
AcceptDialog | paste_dialog | |
LineEdit | paste_line_edit |
Methods ​
void | setup( p_initial_value: Vector3 = Vector3.ZERO, p_options: Dictionary = {} ) |
void | enable_drag( per_pixel: float ) |
Vector3 | get_value() |
void | set_value( value: Vector3 ) |
Signals ​
value_changed( value: Vector3 ) ​
Variable descriptions ​
Vector3 current_value = Vector3.ZERO ​
No description yet.
SpinBox x_spinbox ​
No description yet.
SpinBox y_spinbox ​
No description yet.
SpinBox z_spinbox ​
No description yet.
PopupMenu popup_menu ​
No description yet.
AcceptDialog paste_dialog ​
No description yet.
LineEdit paste_line_edit ​
No description yet.
Method descriptions ​
void setup( p_initial_value: Vector3 = Vector3.ZERO, p_options: Dictionary = {} ) ​
No description yet.
void enable_drag( per_pixel: float ) ​
Lets the mouse set the three fields by dragging sideways (SpinDrag): each pixel adds per_pixel
Vector3 get_value() ​
No description yet.
void set_value( value: Vector3 ) ​
No description yet.