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

Method get_editor_by_name

editor/editor_data.cpp:286–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286EditorPlugin *EditorData::get_editor_by_name(const String &p_name) {
287 for (int i = editor_plugins.size() - 1; i > -1; i--) {
288 if (editor_plugins[i]->get_plugin_name() == p_name) {
289 return editor_plugins[i];
290 }
291 }
292
293 return nullptr;
294}
295
296void EditorData::copy_object_params(Object *p_object) {
297 clipboard.clear();

Callers 4

_option_selectedMethod · 0.80
_notificationMethod · 0.80
_focus_nodeMethod · 0.80

Calls 2

sizeMethod · 0.65
get_plugin_nameMethod · 0.45

Tested by

no test coverage detected