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

Method get_description

scene/main/node.cpp:1488–1499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1486}
1487
1488String Node::get_description() const {
1489 String description;
1490 if (is_inside_tree()) {
1491 description = String(get_path());
1492 } else {
1493 description = get_name();
1494 if (description.is_empty()) {
1495 description = get_class();
1496 }
1497 }
1498 return description;
1499}
1500
1501static SafeRefCount node_hrcr_count;
1502

Callers 1

Calls 3

StringClass · 0.50
get_nameFunction · 0.50
is_emptyMethod · 0.45

Tested by

no test coverage detected