Unravel Engine C++ Reference
|
Class that contains core data for audio listeners. There can only be one instance of it per scene. More...
#include <audio_listener_component.h>
Public Member Functions | |
void | update (const math::transform &t, delta_t dt) |
Updates the audio listener with the given transform and delta time. | |
![]() | |
void | touch () |
Marks the component as 'touched'. | |
Additional Inherited Members | |
![]() | |
using | base |
![]() | |
bool | eto {} |
Disable empty type optimizations. | |
![]() | |
static constexpr bool | in_place_delete |
Indicates if the component can be deleted in place. | |
Class that contains core data for audio listeners. There can only be one instance of it per scene.
Definition at line 16 of file audio_listener_component.h.
void unravel::audio_listener_component::update | ( | const math::transform & | t, |
delta_t | dt ) |
Updates the audio listener with the given transform and delta time.
t | The transform to update with. |
dt | The delta time. |
Definition at line 5 of file audio_listener_component.cpp.