Function ecs_iter_set_var_as_range

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_iter_set_var_as_range(ecs_iter_t *it, int32_t var_id, const ecs_table_range_t *range)

Description

Same as ecs_iter_set_var, but for a range of entities This constrains the variable to a range of entities in a table.

Parameters

it - The iterator.

var_id - The variable index.

range - The range variable value.

Source

Line 3791 in include/flecs.h.