Function operator entity_type

Synopsis

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

operator entity_type() const noexcept

Description

Converts a handle to its underlying entity.

Return
An entity identifier.

Source

Lines 80-82 in src/entt/entity/handle.hpp.

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





Add Discussion

Log in to comment