Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AudioDevice.h |
Include |
#include "AudioDevice.h" |
struct FListener
Defines the properties of the listener
Name | Description | ||
---|---|---|---|
|
AttenuationOverride |
An attenuation override to use for distance and attenuation calculations |
|
|
FAudioDevice &#... |
AudioDevice |
|
|
AudioVolumeID |
The ID of the volume the listener resides in |
|
|
uint32: 1 |
bUseAttenuationOverride |
Is our attenuation override active |
|
double |
ExteriorEndTime |
|
|
double |
ExteriorLPFEndTime |
|
|
float |
ExteriorLPFInterp |
|
|
float |
ExteriorVolumeInterp |
|
|
double |
InteriorEndTime |
|
|
double |
InteriorLPFEndTime |
|
|
float |
InteriorLPFInterp |
|
|
InteriorSettings |
||
|
double |
InteriorStartTime |
The times of interior volumes fading in and out |
|
float |
InteriorVolumeInterp |
|
|
ListenerIndex |
Index of this listener inside the AudioDevice's listener array |
|
|
Transform |
||
|
Velocity |
||
|
WorldID |
The ID of the world the listener resides in |
Name | Description | |
---|---|---|
|
FListener ( |
Name | Description | ||
---|---|---|---|
|
ApplyInteriorSettings ( |
Apply the interior settings to ambient sounds |
|
|
GetFront() |
||
|
GetPosition ( |
Gets the position of the listener |
|
|
GetRight() |
||
|
GetUp() |
||
|
float |
Interpolate ( |
Works out the interp value between source and end |
|
UpdateCurrentInteriorSettings() |
Gets the current state of the interior settings for the listener |