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 |
void SetModulationRouting
&40;
const TSet< USoundModulatorBase &42; > & Modulators,
const EModulationDestination Destination,
const EModulationRouting RoutingMethod
&41;
Remarks
Sets the routing for one of the given Audio component's Modulation Destinations.
Parameters
| Name | Description |
|---|---|
| Modulators | The set of modulators to apply to the given destination on the component. |
| Destination | The destination to assign the modulators to. |
| RoutingMethod | The routing method to use for the given modulator. |