Function ecs_delete_children

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_delete_children(ecs_world_t *world, ecs_entity_t parent)

Description

Delete children of an entity. This operation deletes all children of a parent entity. If a parent has no children this operation has no effect.

Parameters

world - The world.

parent - The parent entity.

Source

Line 1276 in include/flecs.h.