UAudioComponent::LowPassFilterFrequency
#include "Components/AudioComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Cutoff frequency in Hz for an additional low-pass filter applied to this voice, active only while bEnableLowPassFilter is set. A value of 0.0 matches the device sample rate and effectively bypasses the filter.
Caveats & Gotchas
- • Editing this directly on the component only has an effect if bEnableLowPassFilter is also true — the EditCondition hides the field in the Details panel otherwise, but setting it via C++/BP with the flag off is silently ignored at playback.
- • This is one of several LPF contributors (attenuation, occlusion, this override); the engine always applies the lowest cutoff frequency among them, so raising this value won't undo a tighter filter set elsewhere.
- • Changing the value after the sound has started playing does not retroactively update the active sound — call SetLowPassFilterFrequency() at runtime instead of writing the property directly.
Signature
float LowPassFilterFrequency Example
Enable and set a low-pass cutoff C++
AudioComponent->bEnableLowPassFilter = true;
AudioComponent->LowPassFilterFrequency = 800.0f;
AudioComponent->Play(); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?