Function entity

Synopsis

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

entity_type entity() const noexcept

Description

Returns the entity associated with a handle.

Return
The entity associated with the handle.

Source

Lines 112-114 in src/entt/entity/handle.hpp.

[[nodiscard]] entity_type entity() const ENTT_NOEXCEPT {
    return entt;
}





Add Discussion

Log in to comment