Skip to content

Vector3Control ​

Inherits: HBoxContainer

Three spinboxes for Vector3 input with clipboard paste support

Variables ​

Vector3current_valueVector3.ZERO
SpinBoxx_spinbox
SpinBoxy_spinbox
SpinBoxz_spinbox
PopupMenupopup_menu
AcceptDialogpaste_dialog
LineEditpaste_line_edit

Methods ​

voidsetup( p_initial_value: Vector3 = Vector3.ZERO, p_options: Dictionary = {} )
voidenable_drag( per_pixel: float )
Vector3get_value()
voidset_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.