Function delta_time

Synopsis

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

ecs_ftime_t delta_time() const

Description

Get last delta_time.

Source

Lines 158-161 in include/flecs/addons/cpp/world.hpp.

ecs_ftime_t delta_time() const {
    const ecs_world_info_t *stats = ecs_get_world_info(m_world);
    return stats->delta_time;
}