Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USoundNode
- USoundNodeAttenuation
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
| Type | Name | Description | |
|---|---|---|---|
| FSoundAttenuationSettings | AttenuationOverrides | ||
| TObjectPtr< USoundAttenuation > | AttenuationSettings | ||
| uint32: 1 | bOverrideAttenuation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USoundNodeAttenuation
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSoundAttenuationSettings * | |||
| void | ParseNodes
(
FAudioDevice* AudioDevice, |
Overridden from USoundNode
| Type | Name | Description | |
|---|---|---|---|
| float | Returns the maximum distance this sound can be heard from. |