UAudioComponent::SetSourceBusSendPreEffect

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.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp

Syntax

void SetSourceBusSendPreEffect
(
    USoundSourceBus * SoundSourceBus,
    float SourceBusSendLevel
)

Remarks

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.

Parameters

Parameter

Description

SoundSourceBus

The Bus to send the signal to.

SourceBusSendLevel

The scalar used to alter the volume of the copied signal.