Function id

Synopsis

#include <include/flecs/addons/cpp/entity_view.hpp>

entity_t id() const

Description

Get entity id.

Returns
The integer entity id.

Source

Lines 36-38 in include/flecs/addons/cpp/entity_view.hpp.

entity_t id() const {
    return m_id;
}