MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_window_layout

Method get_window_layout

editor/run/game_view_plugin.cpp:867–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867void GameView::get_window_layout(Ref<ConfigFile> p_layout) {
868 if (window_wrapper->get_window_enabled()) {
869 _update_floating_window_settings();
870 }
871
872 p_layout->set_value("GameView", "floating_window_rect", floating_window_rect);
873 p_layout->set_value("GameView", "floating_window_screen", floating_window_screen);
874}
875
876void GameView::_update_floating_window_settings() {
877 if (window_wrapper->get_window_enabled()) {

Callers 1

Calls 2

get_window_enabledMethod · 0.80
set_valueMethod · 0.45

Tested by

no test coverage detected