Function ecs_field_id

Synopsis

#include <include/flecs.h>

FLECS_API ecs_id_t ecs_field_id(const ecs_iter_t *it, int32_t index)

Description

Return id matched for field.

Parameters

it - The iterator.

index - The index of the field in the iterator.

Returns
The id matched for the field.

Mentioned in

Source

Line 4005 in include/flecs.h.