UAudioComponent::SetOutputToBusOnly
#include "Components/AudioComponent.h"
Access: public
Specifiers: UFUNCTIONBlueprintCallable
Description
When enabled, routes this component's audio exclusively through its configured bus sends and mutes its normal direct output entirely.
Caveats & Gotchas
- • Combine with SetSourceBusSendPreEffect/SetAudioBusSendPreEffect (or their post-effect variants) — enabling this without any active bus send effectively silences the sound completely.
- • Common pattern for sidechain/ducking setups where a sound should only be heard through processed bus output, not doubled with its raw direct signal.
- • Requires the Audio Mixer engine; behaviour is undefined/no-op on the legacy audio backend.
Signature
void SetOutputToBusOnly(bool bInOutputToBusOnly) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| bInOutputToBusOnly | bool | Whether the component's audio should be routed exclusively to its bus sends, silencing normal output. | — |
Return Type
void Example
Route a sound entirely through a bus C++
AudioComponent->SetAudioBusSendPreEffect(ProcessingBus, 1.0f);
AudioComponent->SetOutputToBusOnly(true); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?