Function table

Synopsis

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

flecs::table table() const

Description

Get the entity's table.

Returns
Returns the entity's table.

Source

Lines 94-96 in include/flecs/addons/cpp/mixins/entity/impl.hpp. Line 99 in include/flecs/addons/cpp/entity_view.hpp.

inline flecs::table entity_view::table() const {
    return flecs::table(m_world, ecs_get_table(m_world, m_id));
}