UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAttenuationListenerData Struct Reference

#include <AudioDevice.h>

Static Public Member Functions

static FAttenuationListenerData Create (const FAudioDevice &AudioDevice, int32 ListenerIndex, const FTransform &InSoundTransform, const FSoundAttenuationSettings &InAttenuationSettings)
 

Public Attributes

FVector ListenerToSoundDir
 
FVector::FReal AttenuationDistance
 
FVector::FReal ListenerToSoundDistance
 
FVector::FReal ListenerToSoundDistanceForPanning
 
FTransform ListenerTransform
 
const FTransform SoundTransform
 
const FSoundAttenuationSettingsAttenuationSettings
 

Detailed Description

Struct used to cache listener attenuation vector math results

Member Function Documentation

◆ Create()

FAttenuationListenerData FAttenuationListenerData::Create ( const FAudioDevice AudioDevice,
int32  ListenerIndex,
const FTransform InSoundTransform,
const FSoundAttenuationSettings InAttenuationSettings 
)
static

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

Member Data Documentation

◆ AttenuationDistance

FVector::FReal FAttenuationListenerData::AttenuationDistance

◆ AttenuationSettings

const FSoundAttenuationSettings* FAttenuationListenerData::AttenuationSettings

◆ ListenerToSoundDir

FVector FAttenuationListenerData::ListenerToSoundDir

◆ ListenerToSoundDistance

FVector::FReal FAttenuationListenerData::ListenerToSoundDistance

◆ ListenerToSoundDistanceForPanning

FVector::FReal FAttenuationListenerData::ListenerToSoundDistanceForPanning

◆ ListenerTransform

FTransform FAttenuationListenerData::ListenerTransform

◆ SoundTransform

const FTransform FAttenuationListenerData::SoundTransform

The documentation for this struct was generated from the following files: