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 a (component) id from an entity. This operation removes a single (component) id to an entity. If the entity does not have the id, this operation has no side effects.

Parameters

world - The world.

entity - The entity.

id - The id to remove.

Mentioned in

Source

Line 1724 in include/flecs.h.