UAudioComponent::ModulationRouting
#include "Components/AudioComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Configures which modulators drive this component's volume, pitch, and other modulation destinations, and how they combine with values set elsewhere.
Caveats & Gotchas
- • Only has a runtime effect when the project's audio modulation plugin is enabled — on projects without modulation active, this field is inert even if populated.
- • Routing is captured when the sound starts playing; changing ModulationRouting on an already-playing component doesn't rewire the active sound. Use SetModulationRouting or AddModulationRouting for that.
Signature
FSoundModulationDefaultRoutingSettings ModulationRouting Example
Query modulators at runtime C++
TSet<USoundModulatorBase*> VolumeModulators = AudioComp->GetModulators(EModulationDestination::Volume); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?