Function ecs_field_src

Synopsis

#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_field_src(const ecs_iter_t *it, int32_t index)

Description

Return field source. The field source is the entity on which the field was matched.

Parameters

it - The iterator.

index - The index of the field in the iterator.

Returns
The source for the field.

Mentioned in

Source

Line 4017 in include/flecs.h.