Function scope

Synopsis

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

template <typename Func>
void scope(id_t parent, const Func &func)

Description

All entities created in function are created in scope. All operations called in function (such as lookup) are relative to scope.

Source

Line 60 in include/flecs/addons/cpp/impl/world.hpp.