Function ecs_new_id

Synopsis

#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_new_id(ecs_world_t *world)

Description

Create new entity id. This operation returns an unused entity id.

Parameters

world - The world.

Returns
The new entity id.

Mentioned in

Source

Line 1260 in include/flecs.h.