#include <include/flecs.h> FLECS_API void ecs_remove_id(ecs_world_t *world, ecs_entity_t entity, ecs_id_t id)
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.
world- The world.
entity- The entity.
id- The id to remove.