ecs_enable_range_check

Function ecs_enable_range_check 

Source
pub unsafe extern "C" fn ecs_enable_range_check(
    world: *mut ecs_world_t,
    enable: bool,
) -> bool
Expand 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.

@param world The world. @param enable True if range checking should be enabled, false to disable. @return The previous value.