Function remove_all

Synopsis

#include <src/entt/entity/handle.hpp>

void remove_all() const

Description

Removes all the components from a handle and makes it orphaned.

See
basic_registry::remove_all

Source

Lines 199-202 in src/entt/entity/handle.hpp.

void remove_all() const {
    static_assert(sizeof...(Type) == 0);
    reg->remove_all(entt);
}





Add Discussion

Log in to comment