Function entity

Synopsis

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

entity_type entity() const

Description

Returns the entity associated with a handle.

Returns
The entity associated with the handle.

Source

Lines 116-118 in src/entt/entity/handle.hpp.

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





Add Discussion

Log in to comment