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

#include <ActiveSound.h>

Public Attributes

float Azimuth = 0.0f
 
float AbsoluteAzimuth = 0.0f
 
float FocusFactor = 1.0f
 
float DistanceScale = 1.0f
 
float PriorityScale = 1.0f
 
float PriorityHighest = 1.0f
 
float VolumeScale = 1.0f
 
bool bFirstFocusUpdate = true
 

Detailed Description

Attenuation focus system data computed per update per active sound

Member Data Documentation

◆ AbsoluteAzimuth

float FAttenuationFocusData::AbsoluteAzimuth = 0.0f

Absolute azimuth of the active sound relative to the listener. Used for 3d audio calculations.

◆ Azimuth

float FAttenuationFocusData::Azimuth = 0.0f

Azimuth of the active sound relative to the listener. Used by sound focus.

◆ bFirstFocusUpdate

bool FAttenuationFocusData::bFirstFocusUpdate = true

If this is the first update for focus. Handles edge case of starting a sound in-focus or out-of-focus.

◆ DistanceScale

float FAttenuationFocusData::DistanceScale = 1.0f

Cached calculation of the amount distance is scaled due to focus

◆ FocusFactor

float FAttenuationFocusData::FocusFactor = 1.0f

Value used to allow smooth interpolation in/out of focus

◆ PriorityHighest

float FAttenuationFocusData::PriorityHighest = 1.0f

Cached highest priority of the parent active sound's wave instances.

◆ PriorityScale

float FAttenuationFocusData::PriorityScale = 1.0f

The amount priority is scaled due to focus

◆ VolumeScale

float FAttenuationFocusData::VolumeScale = 1.0f

The amount volume is scaled due to focus


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