Function path

Synopsis

#include <include/flecs/addons/cpp/entity_view.hpp>

flecs::string path(const char *sep="::", const char *init_sep="::") const

Description

Return the entity path.

Returns
The hierarchical entity path.

Mentioned in

Source

Lines 80-83 in include/flecs/addons/cpp/entity_view.hpp.

flecs::string path(const char *sep = "::", const char *init_sep = "::") const {
    char *path = ecs_get_path_w_sep(m_world, 0, m_id, sep, init_sep);
    return flecs::string(path);
}