UAudioComponent::SetSourceBusSendPreEffect
#include "Components/AudioComponent.h"
Access: public
Specifiers: UFUNCTIONBlueprintCallable
Description
Sets the send level from this component's sound to a Source Bus, tapping the signal before the source's Source Effect chain is applied.
Caveats & Gotchas
- • If the bus isn't already among the sound's sends, this adds it to the component's override sends rather than modifying the SoundCue/SoundWave asset itself.
- • Pre-effect sends capture the raw signal, so any distortion/filter Source Effects on this component will not be present in what the bus receives — use SetSourceBusSendPostEffect() if you need the processed signal instead.
- • Only applies to Source Buses (USoundSourceBus), not Audio Buses — use SetAudioBusSendPreEffect() for the latter.
Signature
void SetSourceBusSendPreEffect(USoundSourceBus* SoundSourceBus, float SourceBusSendLevel) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| SoundSourceBus | USoundSourceBus* | The Source Bus to send a copy of the signal to. | — |
| SourceBusSendLevel | float | Scalar controlling the volume of the copied signal. | — |
Return Type
void Example
Route dry signal to a source bus C++
AudioComponent->SetSourceBusSendPreEffect(SidechainBus, 1.0f); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?