Function ecs_enable_range_check

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_enable_range_check(ecs_world_t *world, bool enable)

Description

Enable/disable range limits. When an application is both a receiver of range-limited entities and a producer of range-limited entities, range checking needs to be temporarily disabled when inserting received entities. Range checking is disabled on a stage, so setting this value is thread safe.

Parameters

world - The world.

enable - True if range checking should be enabled, false to disable.

Returns
The previous value.

Mentioned in

Source

Line 1095 in include/flecs.h.