Function ecs_iter_set_var_as_table

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_iter_set_var_as_table(ecs_iter_t *it, int32_t var_id, const ecs_table_t *table)

Description

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

Parameters

it - The iterator.

var_id - The variable index.

table - The table variable value.

Source

Line 3778 in include/flecs.h.