You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Merge pull request #103608 from gr8alpaca/expose_node_3d_snapping
Expose 3D editor snap settings to EditorInterface
This commit is contained in:
@@ -132,6 +132,11 @@ public:
|
||||
|
||||
float get_editor_scale() const;
|
||||
|
||||
bool is_node_3d_snap_enabled() const;
|
||||
real_t get_node_3d_translate_snap() const;
|
||||
real_t get_node_3d_rotate_snap() const;
|
||||
real_t get_node_3d_scale_snap() const;
|
||||
|
||||
void popup_dialog(Window *p_dialog, const Rect2i &p_screen_rect = Rect2i());
|
||||
void popup_dialog_centered(Window *p_dialog, const Size2i &p_minsize = Size2i());
|
||||
void popup_dialog_centered_ratio(Window *p_dialog, float p_ratio = 0.8);
|
||||
|
||||
Reference in New Issue
Block a user