Function ecs_get_with

Synopsis

#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_get_with(const ecs_world_t *world)

Description

Get current with id. Get the id set with ecs_set_with.

Parameters

world - The world.

id - The id.

Returns
The previous id.

Source

Line 2268 in include/flecs.h.