Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioDevice.h |
Include | #include "AudioDevice.h" |
Syntax
struct FListener
Remarks
Defines the properties of the listener
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FVector | AttenuationOverride | An attenuation override to use for distance and attenuation calculations |
![]() |
FAudioDevice * | AudioDevice | |
![]() |
uint32 | 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 | |
![]() |
FInteriorSettings | InteriorSettings | |
![]() |
double | InteriorStartTime | The times of interior volumes fading in and out |
![]() |
float | InteriorVolumeInterp | |
![]() |
int32 | ListenerIndex | Index of this listener inside the AudioDevice's listener array |
![]() |
FTransform | Transform | |
![]() |
FVector | Velocity | |
![]() |
uint32 | WorldID | The ID of the world the listener resides in |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FListener
(
FAudioDevice* InAudioDevice |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ApplyInteriorSettings
(
uint32 AudioVolumeID, |
Apply the interior settings to ambient sounds |
![]() ![]() |
FVector | GetFront () |
|
![]() ![]() |
FVector | GetPosition
(
bool bAllowOverride |
Gets the position of the listener |
![]() ![]() |
FVector | GetRight () |
|
![]() ![]() |
FVector | GetUp () |
|
![]() |
float | Interpolate
(
const double EndTime |
Works out the interp value between source and end |
![]() |
void | Gets the current state of the interior settings for the listener |