Function ecs_iter_type

Synopsis

#include <include/flecs.h>

FLECS_API ecs_type_t ecs_iter_type(const ecs_iter_t *it)

Description

Get the type of the currently entity/entities. This operation returns the type of the current iterated entity/entities. A type is a vector that contains all ids of the components that an entity has.

Parameters

it - The iterator.

Returns
The type of the currently iterated entity/entities.

Mentioned in

Source

Line 2551 in include/flecs.h.