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,
    const FTransform& InListenerTransf...,
    const FTransform& InSoundTransform,
    const FSoundAttenuationSettings& I...
)

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

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