ecs_clear

Function ecs_clear 

Source
pub unsafe extern "C" fn ecs_clear(
    world: *mut ecs_world_t,
    entity: ecs_entity_t,
)
Expand description

Clear all components. This operation will remove all components from an entity.

@param world The world. @param entity The entity.