|
CeresEngine 0.2.0
A game development framework
|
A component that represents a listener that hears audio sources. More...
#include <CeresEngine/Audio/AudioListener.hpp>
Classes | |
| struct | Accessor |
Public Attributes | |
| double | volume = 1.0 |
| The listening volume. | |
Additional Inherited Members | |
Public Member Functions inherited from CeresEngine::Component< AudioListenerComponent > | |
| const ComponentType & | getComponentType () const noexcept final |
| Gets the component type. | |
Public Member Functions inherited from CeresEngine::AbstractComponent | |
| virtual CE_DISABLE_WARNING_MISSING_OVERRIDE ::CeresEngine::ClassInfo | getClassInfo () noexcept |
| virtual ::CeresEngine::ClassInfo | getClassInfo () const noexcept |
| virtual | ~AbstractComponent ()=default |
| Defaulted virtual destructor. | |
Static Public Attributes inherited from CeresEngine::Component< AudioListenerComponent > | |
| static const ComponentID | componentID |
| This component type ID. | |
| static const ComponentMask | mask |
| The component mask. | |
| static const ComponentType & | componentType |
| Gets the component type. | |
A component that represents a listener that hears audio sources.
For spatial audio the volume and pitch of played audio is determined by the distance, orientation and velocity differences between the source and the listener.
| double CeresEngine::AudioListenerComponent::volume = 1.0 |
The listening volume.