RealDocs

UAudioComponent::SetSourceEffectChain

function Engine Since 4.24
#include "Components/AudioComponent.h"
Access: public

Description

Overrides the chain of source effect presets applied to sounds played by this component, replacing the value of the SourceEffectChain property.

Caveats & Gotchas

  • Not Blueprint-callable despite SourceEffectChain itself being a BlueprintReadWrite property — from Blueprint you can only set the property directly.
  • Like most audio settings changes, this affects newly started sounds; it does not modify the effect chain of a sound instance that's already playing.

Signature

void SetSourceEffectChain(USoundEffectSourcePresetChain* InSourceEffectChain)

Parameters

Name Type Description Default
InSourceEffectChain USoundEffectSourcePresetChain* The source effect preset chain to apply to sounds played by this component.

Return Type

void

Example

Overriding the source effect chain before playback C++
AudioComponent->SetSourceEffectChain(MyPresetChain);
AudioComponent->Play();

Version History

Introduced in: 4.24

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.