RealDocs

UAudioComponent::SetHighPassFilterEnabled

function Engine Blueprint Since unknown
#include "Components/AudioComponent.h"
Access: public Specifiers: UFUNCTIONBlueprintCallable

Description

Enables or disables an additional High Pass Filter frequency contribution on this component, which factors into the sound instance's overall HPF calculation.

Caveats & Gotchas

  • Pair with SetHighPassFilterFrequency() to specify an actual cutoff — enabling alone may use a default that has no perceptible effect.
  • The final HPF applied is the highest cutoff frequency among all contributing sources, so this can only raise the filter floor, never lower one set by another system.
  • Useful for simulating muffled/underwater-through-a-wall effects when combined with the Low Pass Filter for a band-pass style effect.

Signature

void SetHighPassFilterEnabled(bool InHighPassFilterEnabled)

Parameters

Name Type Description Default
InHighPassFilterEnabled bool Whether to enable the component's High Pass Filter frequency contribution.

Return Type

void

Example

Enable and configure an HPF override C++
AudioComponent->SetHighPassFilterEnabled(true);
AudioComponent->SetHighPassFilterFrequency(200.0f);

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.