Flecs: include/flecs/addons/cpp/mixins/timer/system_mixin.inl Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
system_mixin.inl
Go to the documentation of this file.
1
5
12
16 void interval(ecs_ftime_t interval);
17
21 ecs_ftime_t interval();
22
26 void timeout(ecs_ftime_t timeout);
27
31 ecs_ftime_t timeout();
32
36 void rate(int32_t rate);
37
41 void start();
42
46 void stop();
47
51template<typename T>
52 void set_tick_source();
53
57 void set_tick_source(flecs::entity e);
58
flecs::system::interval
void interval(ecs_ftime_t interval)
Set interval.
Definition impl.hpp:72
flecs::system::rate
void rate(int32_t rate)
Set system rate (system is its own tick source).
Definition impl.hpp:92
flecs::system::timeout
void timeout(ecs_ftime_t timeout)
Set timeout.
Definition impl.hpp:82
ecs_ftime_t
#define ecs_ftime_t
Customizable precision for scalar time values.
Definition flecs.h:59
flecs::entity
Entity.
Definition entity.hpp:30
flecs::system::timeout
ecs_ftime_t timeout()
Get timeout.
flecs::system::interval
ecs_ftime_t interval()
Get interval.
flecs::system::start
void start()
Start timer.
flecs::system::stop
void stop()
Stop timer.
flecs::system::set_tick_source
void set_tick_source()
Set external tick source.
flecs::system::rate
void rate(int32_t rate)
Set system rate (system is its own tick source).
flecs::system::timeout
void timeout(ecs_ftime_t timeout)
Set timeout.
flecs::system::set_tick_source
void set_tick_source(flecs::entity e)
Set external tick source.
flecs::system::interval
void interval(ecs_ftime_t interval)
Set interval.