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

Method get_interface

servers/xr_server.cpp:291–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291Ref<XRInterface> XRServer::get_interface(int p_index) const {
292 ERR_FAIL_INDEX_V(p_index, interfaces.size(), nullptr);
293
294 return interfaces[p_index];
295}
296
297Ref<XRInterface> XRServer::find_interface(const String &p_name) const {
298 for (int i = 0; i < interfaces.size(); i++) {

Callers 6

_notificationMethod · 0.45
test_setupMethod · 0.45
test_cleanupMethod · 0.45
main.cppFile · 0.45
cleanupMethod · 0.45
test_text_server.hFile · 0.45

Calls 1

sizeMethod · 0.65

Tested by 2

test_setupMethod · 0.36
test_cleanupMethod · 0.36