UMediaSoundComponent::BP_GetAttenuationSettingsToApply

Get the attenuation settings based on the current component settings.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaSoundComponent.h

Include

#include "MediaSoundComponent.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaSoundComponent.cpp

Syntax

bool BP_GetAttenuationSettingsToApply
(
    FSoundAttenuationSettings & OutAttenuationSettings
)

Remarks

Get the attenuation settings based on the current component settings.

Returns

true if attenuation settings were returned, false if attenuation is disabled.

Parameters

Parameter

Description

OutAttenuationSettings

Will contain the attenuation settings, if available.