Function ecs_term_is_owned

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_term_is_owned(const ecs_iter_t *it, int32_t index)

Description

Test whether the term is owned This operation returns whether the term is owned by the currently iterated entity. This function will return false when the term is owned by another entity, such as a parent or a prefab.

Parameters

it - The iterator.

index - The index of the term in the query.

Returns
Whether the term is owned by the iterated over entity/entities.

Source

Line 2953 in include/flecs.h.