You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Allow setting the preview sun angle with numbers
This commit is contained in:
@@ -764,6 +764,8 @@ private:
|
||||
VBoxContainer *sun_vb;
|
||||
Popup *sun_environ_popup;
|
||||
Control *sun_direction;
|
||||
EditorSpinSlider *sun_angle_altitude;
|
||||
EditorSpinSlider *sun_angle_azimuth;
|
||||
ColorPickerButton *sun_color;
|
||||
EditorSpinSlider *sun_energy;
|
||||
EditorSpinSlider *sun_max_distance;
|
||||
@@ -771,8 +773,9 @@ private:
|
||||
|
||||
void _sun_direction_draw();
|
||||
void _sun_direction_input(const Ref<InputEvent> &p_event);
|
||||
void _sun_direction_angle_set();
|
||||
|
||||
Basis sun_rotation;
|
||||
Vector2 sun_rotation;
|
||||
|
||||
Ref<Shader> sun_direction_shader;
|
||||
Ref<ShaderMaterial> sun_direction_material;
|
||||
|
||||
Reference in New Issue
Block a user