Unravel Engine C++ Reference
Loading...
Searching...
No Matches
reflection_probe_system.cpp
Go to the documentation of this file.
2#include <engine/events.h>
3
6#include <engine/ecs/ecs.h>
7
8#include <logging/logging.h>
9
10namespace unravel
11{
12
14{
15 APPLOG_TRACE("{}::{}", hpp::type_name_str(*this), __func__);
16
17 return true;
18}
19
21{
22 APPLOG_TRACE("{}::{}", hpp::type_name_str(*this), __func__);
23
24 return true;
25}
26
28{
30 [&](auto e, auto&& transform, auto&& probe, auto&& active)
31 {
32 probe.update();
33 });
34}
35
36void reflection_probe_system::on_play_begin(hpp::span<const entt::handle> entities, delta_t dt)
37{
38
39}
40
41} // namespace unravel
Class that contains core reflection probe data, used for rendering and other purposes.
void on_play_begin(hpp::span< const entt::handle > entities, delta_t dt)
void on_frame_update(scene &scn, delta_t dt)
auto deinit(rtti::context &ctx) -> bool
auto init(rtti::context &ctx) -> bool
Component that handles transformations (position, rotation, scale, etc.) in the ACE framework.
std::chrono::duration< float > delta_t
#define APPLOG_TRACE(...)
Definition logging.h:17
Represents a scene in the ACE framework, managing entities and their relationships.
Definition scene.h:21
std::unique_ptr< entt::registry > registry
The registry that manages all entities in the scene.
Definition scene.h:117