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

Method reset_camera_2d_position

editor/run/game_view_plugin.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void GameViewDebugger::reset_camera_2d_position() {
202 for (Ref<EditorDebuggerSession> &I : sessions) {
203 if (I->is_active()) {
204 I->send_message("scene:runtime_node_select_reset_camera_2d", Array());
205 }
206 }
207}
208
209void GameViewDebugger::reset_camera_3d_position() {
210 for (Ref<EditorDebuggerSession> &I : sessions) {

Calls 3

ArrayClass · 0.50
is_activeMethod · 0.45
send_messageMethod · 0.45

Tested by

no test coverage detected