USoundNodeAttenuation

Defines how a sound's volume changes based on distance to the listener

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundNodeAttenuation.h

Include

#include "Sound/SoundNodeAttenuation.h"

Syntax

class USoundNodeAttenuation : public USoundNode

Remarks

Defines how a sound's volume changes based on distance to the listener

Variables

Name Description

Public variable

FSoundAttenuati...

 

AttenuationOverrides

Public variable

USoundAttenuati...

 

AttenuationSettings

Public variable

uint32: 1

 

bOverrideAttenuation

Constructors

Name Description

Public function

USoundNodeAttenuation

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

const FSound...

 

GetAttenuationSettingsToApply()

Public function Virtual

void

 

ParseNodes

(
    FAudioDevice* AudioDevice,
    const UPTRINT NodeWaveInstanceHash,
    FActiveSound& ActiveSound,
    const FSoundParseParameters& Parse...,
    TArray< FWaveInstance* >& Wav...
)

Overridden from USoundNode

Name Description

Public function Virtual Const

float

 

GetMaxDistance()

Returns the maximum distance this sound can be heard from.

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