Function ecs_count_id

Synopsis

#include <include/flecs.h>

FLECS_API int32_t ecs_count_id(const ecs_world_t *world, ecs_id_t entity)

Description

Count entities that have the specified id. Returns the number of entities that have the specified id.

Parameters

world - The world.

entity - The id to search for.

Returns
The number of entities that have the id.

Source

Line 2046 in include/flecs.h.