System that manages and updates particle emitters in the ECS.
More...
#include <particle_system.h>
System that manages and updates particle emitters in the ECS.
Definition at line 17 of file particle_system.h.
◆ particle_system() [1/3]
| unravel::particle_system::particle_system |
( |
| ) |
|
|
default |
◆ ~particle_system()
| unravel::particle_system::~particle_system |
( |
| ) |
|
|
default |
◆ particle_system() [2/3]
◆ particle_system() [3/3]
◆ deinit()
| auto unravel::particle_system::deinit |
( |
rtti::context & | ctx | ) |
-> bool |
Deinitializes the particle system.
- Parameters
-
| ctx | The context to deinitialize. |
- Returns
- True if deinitialization was successful, false otherwise.
Definition at line 29 of file particle_system.cpp.
◆ init()
| auto unravel::particle_system::init |
( |
rtti::context & | ctx | ) |
-> bool |
Initializes the particle system.
- Parameters
-
| ctx | The context to initialize with. |
- Returns
- True if initialization was successful, false otherwise.
Definition at line 16 of file particle_system.cpp.
◆ on_frame_before_render()
| void unravel::particle_system::on_frame_before_render |
( |
scene & | scn, |
|
|
delta_t | dt ) |
Updates all particle emitters in the scene.
- Parameters
-
| scn | The scene containing particle emitters. |
| dt | The delta time for this frame. |
Definition at line 43 of file particle_system.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/ecs/systems/particle_system.h
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/ecs/systems/particle_system.cpp