31 #include "Utilities/Math/Math.h" 32 #include "Utilities/ECS/Component.h" 40 INVERSE_DISTANCE_CLAMPED,
42 LINEAR_DISTANCE_CLAMPED,
44 EXPONENT_DISTANCE_CLAMPED,
52 Vector3 velocity{ 0.0f, 0.0f, 0.0f };
53 float soundSpeed = 343.3f;
54 float dopplerFactor = 1.0f;
61 void SetVolume(
float speed);
62 void SetVelocity(
const Vector3& velocity);
63 void SetSoundSpeed(
float value);
64 void SetDopplerFactor(
float factor);
65 void SetSoundModel(SoundModel model);
67 float GetVolume()
const;
68 const Vector3& GetVelocity()
const;
69 float GetSoundSpeed()
const;
70 float GetDopplerFactor()
const;
Definition: AudioListener.h:47
Definition: Application.cpp:49