Function ecs_remove_id

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_remove_id(ecs_world_t *world, ecs_entity_t entity, ecs_id_t id)

Description

Remove an entity from an entity. This operation removes a single entity from the type of an entity. Type roles may be used in combination with the added entity. If the entity does not have the entity, this operation will have no side effects.

Parameters

world - The world.

entity - The entity.

id - The id to remove.

Mentioned in

Source

Line 1454 in include/flecs.h.