FMixerSubmix::ReplaceSoundEffectSubmix

Swaps effect for provided submix at the given index. Fails if effect at index doesn't exist

Choose your operating system:

Windows

macOS

Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/AudioMixerSubmix.h

Include

#include "AudioMixerSubmix.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/AudioMixerSubmix.cpp

Syntax

void ReplaceSoundEffectSubmix
(
    int32 InIndex,
    FSoundEffectSubmixPtr InEffectInstance
)

Remarks

Swaps effect for provided submix at the given index. Fails if effect at index doesn't exist