Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAudioComponent
Description
Sets how much audio the sound should send to the given Audio Bus (PRE Source Effects). if the Bus Send doesn't already exist, it will be added to the overrides on the active sound.
| Name | SetAudioBusSendPreEffect |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h |
| Include Path | #include "Components/AudioComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Audio|Components|Audio")
void SetAudioBusSendPreEffect
(
UAudioBus * AudioBus,
float AudioBusSendLevel
)
Parameters
| Name | Remarks |
|---|---|
| AudioBus | The Bus to send the signal to |
| AudioBusSendLevel | The scalar used to alter the volume of the copied signal |