FListener

Defines the properties of the listener

Windows
MacOS
Linux

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

Name Description

Public variable

FVector

 

AttenuationOverride

An attenuation override to use for distance and attenuation calculations

Public variable

FAudioDevice &#...

 

AudioDevice

Public variable

uint32

 

AudioVolumeID

The ID of the volume the listener resides in

Public variable

uint32: 1

 

bUseAttenuationOverride

Is our attenuation override active

Public variable

double

 

ExteriorEndTime

Public variable

double

 

ExteriorLPFEndTime

Public variable

float

 

ExteriorLPFInterp

Public variable

float

 

ExteriorVolumeInterp

Public variable

double

 

InteriorEndTime

Public variable

double

 

InteriorLPFEndTime

Public variable

float

 

InteriorLPFInterp

Public variable

FInteriorSettin...

 

InteriorSettings

Public variable

double

 

InteriorStartTime

The times of interior volumes fading in and out

Public variable

float

 

InteriorVolumeInterp

Public variable

int32

 

ListenerIndex

Index of this listener inside the AudioDevice's listener array

Public variable

FTransform

 

Transform

Public variable

FVector

 

Velocity

Public variable

uint32

 

WorldID

The ID of the world the listener resides in

Constructors

Name Description

Public function

FListener

(
    FAudioDevice* InAudioDevice
)

Functions

Name Description

Public function

void

 

ApplyInteriorSettings

(
    uint32 AudioVolumeID,
    const FInteriorSettings& Settings
)

Apply the interior settings to ambient sounds

Public function Const

FVector

 

GetFront()

Public function Const

FVector

 

GetPosition

(
    bool bAllowOverride
)

Gets the position of the listener

Public function Const

FVector

 

GetRight()

Public function Const

FVector

 

GetUp()

Public function

float

 

Interpolate

(
    const double EndTime
)

Works out the interp value between source and end

Public function

void

 

UpdateCurrentInteriorSettings()

Gets the current state of the interior settings for the listener

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss