Function ecs_query_iter_page

Synopsis

#include <include/flecs.h>

FLECS_API ecs_iter_t ecs_query_iter_page(ecs_world_t *world, ecs_query_t *query, int32_t offset, int32_t limit)

Description

Iterate over a query. This operation is similar to ecs_query_iter, but starts iterating from a specified offset, and will not iterate more than limit entities.

Parameters

world - The world or stage, when iterating in readonly mode.

query - The query to iterate.

offset - The number of entities to skip.

limit - The maximum number of entities to iterate.

Returns
The query iterator.

Source

Line 2708 in include/flecs.h.