Navigation
Unreal Engine C++ API Reference > Runtime > MediaAssets > UMediaSoundComponent
References
Module | MediaAssets |
Header | /Engine/Source/Runtime/MediaAssets/Public/MediaSoundComponent.h |
Include | #include "MediaSoundComponent.h" |
Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaSoundComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Media|MediaSoundComponent",
Meta=(DisplayName="Get Attenuation Settings To Apply", ScriptName="GetAttenuationSettingsToApply"))
bool BP_GetAttenuationSettingsToApply
(
FSoundAttenuationSettings & OutAttenuationSettings
)
Remarks
Get the attenuation settings based on the current component settings. true if attenuation settings were returned, false if attenuation is disabled.
Parameters
Name | Description |
---|---|
OutAttenuationSettings | Will contain the attenuation settings, if available. |