Function ecs_exists

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_exists(const ecs_world_t *world, ecs_entity_t e)

Description

Test whether an entity exists. Similar as ecs_is_alive, but ignores entity generation count.

Parameters

world - The world.

e - The entity.

Returns
True if the entity exists, false if the entity does not exist.

Source

Line 1640 in include/flecs.h.