Function ecs_set_with

Synopsis

#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_set_with(ecs_world_t *world, ecs_id_t id)

Description

Set current with id. New entities are automatically created with the specified id.

Parameters

world - The world.

id - The id.

Returns
The previous id.

Source

Line 2256 in include/flecs.h.