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

FAudioDevice &#...

 

AudioDevice

Public variable

uint32

 

AudioVolumeID

The ID of the volume the listener resides in

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

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

 

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback