Function ecs_get_scope

Synopsis

#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_get_scope(const ecs_world_t *world)

Description

Get the current scope. Get the scope set by ecs_set_scope. If no scope is set, this operation will return 0.

Parameters

world - The world.

Returns
The current scope.

Source

Line 2245 in include/flecs.h.