Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UAudioComponent
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 |
UFUNCTION (BlueprintCallable, Category="Audio|Components|Audio",
DisplayName="Remove Modulation Routing")
void RemoveModulationRouting
(
const TSet < USoundModulatorBase * > & Modulators,
const EModulationDestination Destination
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| Modulators | The set of modulators to remove from the given destination on the component. |
| Destination | The destination to remove the modulators from. |