Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAudioComponent
Description
Allows designers to target a specific Audio Component instance’s sound and set the send level (volume of sound copied) to the indicated Source Bus. If the Source Bus is not already part of the sound’s sends, the reference will be added to this instance’s Override sends. This particular send occurs before the Source Effect processing chain.
| Name | SetSourceBusSendPreEffect |
| 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 SetSourceBusSendPreEffect
(
USoundSourceBus * SoundSourceBus,
float SourceBusSendLevel
)
Parameters
| Name | Remarks |
|---|---|
| SoundSourceBus | The Bus to send the signal to. |
| SourceBusSendLevel | The scalar used to alter the volume of the copied signal. |