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

Public Member Functions

 FSoundInfo (FString InPathName, float InDistance, FName InClassName)
 
bool ComparePathNames (const FSoundInfo &Other) const
 
bool CompareDistance (const FSoundInfo &Other) const
 
bool CompareClass (const FSoundInfo &Other) const
 
bool CompareWaveInstancesNum (const FSoundInfo &Other) const
 

Public Attributes

FString PathName
 
float Distance
 
FName ClassName
 
TArray< FWaveInstance * > WaveInstances
 

Detailed Description

Helper structure for sorting sounds by predefined criteria.

Constructor & Destructor Documentation

◆ FSoundInfo()

FSoundInfo::FSoundInfo ( FString  InPathName,
float  InDistance,
FName  InClassName 
)
inline

Member Function Documentation

◆ CompareClass()

bool FSoundInfo::CompareClass ( const FSoundInfo Other) const
inline

◆ CompareDistance()

bool FSoundInfo::CompareDistance ( const FSoundInfo Other) const
inline

◆ ComparePathNames()

bool FSoundInfo::ComparePathNames ( const FSoundInfo Other) const
inline

◆ CompareWaveInstancesNum()

bool FSoundInfo::CompareWaveInstancesNum ( const FSoundInfo Other) const
inline

Member Data Documentation

◆ ClassName

FName FSoundInfo::ClassName

Sound group this sound belongs to.

◆ Distance

float FSoundInfo::Distance

Distance betweend a listener and this sound.

◆ PathName

FString FSoundInfo::PathName

Path name to this sound.

◆ WaveInstances

TArray<FWaveInstance*> FSoundInfo::WaveInstances

Wave instances currently used by this sound.


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