Function get_scope

Synopsis

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

flecs::entity get_scope() const

Description

Get current scope.

Returns
The current scope.
See
ecs_get_scope

Source

Lines 70-72 in include/flecs/addons/cpp/impl/world.hpp. Line 492 in include/flecs/addons/cpp/world.hpp.

inline flecs::entity world::get_scope() const {
    return flecs::entity(m_world, ecs_get_scope(m_world));
}