USoundNodeAttenuation::GetMaxDistance

Returns the maximum distance this sound can be heard from.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USoundNode::GetMaxDistance()

USoundNodeAttenuation::GetMaxDistance()

References

Module

Engine

Header

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

Include

#include "Sound/SoundNodeAttenuation.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundNodeAttenuation.cpp

Syntax

virtual float GetMaxDistance() const

Remarks

Returns the maximum distance this sound can be heard from.