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

Method get_subname

core/string/node_path.cpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97StringName NodePath::get_subname(int p_idx) const {
98 ERR_FAIL_NULL_V(data, StringName());
99 ERR_FAIL_INDEX_V(p_idx, data->subpath.size(), StringName());
100 return data->subpath[p_idx];
101}
102
103int NodePath::get_total_name_count() const {
104 if (!data) {

Callers 13

get_node_and_resourceMethod · 0.80
_update_cachesMethod · 0.80
write_variantMethod · 0.80
_find_resourcesMethod · 0.80
encode_variantFunction · 0.80
_internal_processMethod · 0.80
internal_processMethod · 0.80
internal_processMethod · 0.80
_post_fix_animationsMethod · 0.80
_optimize_track_usageMethod · 0.80

Calls 2

StringNameClass · 0.70
sizeMethod · 0.65

Tested by

no test coverage detected