FAttenuationListenerData

Struct used to cache listener attenuation vector math results

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDevice.h

Include

#include "AudioDevice.h"

Syntax

struct FAttenuationListenerData

Remarks

Struct used to cache listener attenuation vector math results

Variables

Name Description

Public variable

float

 

AttenuationDistance

Public variable

const FSoundAtt...

 

AttenuationSettings

Public variable

FVector

 

ListenerToSoundDir

Public variable

float

 

ListenerToSoundDistance

Public variable

float

 

ListenerToSoundDistanceForPanning

(AudioMixer only) Non-attenuation distance for calculating surround sound speaker maps for sources w/ spread

Public variable

FTransform

 

ListenerTransform

Public variable

const FTransfor...

 

SoundTransform

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

FAttenuation...

 

Create

(
    const FAudioDevice& AudioDevice,
    int32 ListenerIndex,
    const FTransform& InSoundTransform,
    const FSoundAttenuationSettings& I...
)

Computes and returns some geometry related to the listener and the given sound transform.

Deprecated Functions

Name Description

Public function Static

FAttenuation...

 

Create

(
    const FAudioDevice& AudioDevice,
    const FTransform& InListenerTransf...,
    const FTransform& InSoundTransform,
    const FSoundAttenuationSettings& I...
)

Use FAttenuationListenerData::Create that passes a ListenerIndex

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