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

Method reset_camera_3d_position

editor/run/game_view_plugin.cpp:209–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void GameViewDebugger::reset_camera_3d_position() {
210 for (Ref<EditorDebuggerSession> &I : sessions) {
211 if (I->is_active()) {
212 I->send_message("scene:runtime_node_select_reset_camera_3d", Array());
213 }
214 }
215}
216
217void GameViewDebugger::setup_session(int p_session_id) {
218 Ref<EditorDebuggerSession> session = get_session(p_session_id);

Calls 3

ArrayClass · 0.50
is_activeMethod · 0.45
send_messageMethod · 0.45

Tested by

no test coverage detected