Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAudioComponent
Description
Removes the given set of Modulators to the modulators currently set on the Audio Component. This performs a logical subtraction of the sets, so modulators that are not in the given set will stay. To completely overwrite current Modulation settings, use SetModulationRouting.
| Name | RemoveModulationRouting |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h |
| Include Path | #include "Components/AudioComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Audio|Components|Audio",
DisplayName="Remove Modulation Routing")
void RemoveModulationRouting
(
const TSet < USoundModulatorBase * > & Modulators,
const EModulationDestination Destination
)
Parameters
| Name | Remarks |
|---|---|
| Modulators | The set of modulators to remove from the given destination on the component. |
| Destination | The destination to remove the modulators from. |