UAudioComponent::GetDisableParameterUpdatesWhilePlaying
#include "Components/AudioComponent.h"
Access: public
Specifiers: overrideinline
Description
Returns whether this component ignores parameter updates for sounds that are already playing, mirroring the bDisableParameterUpdatesWhilePlaying property.
Caveats & Gotchas
- • This is the ISoundParameterControllerInterface accessor for bDisableParameterUpdatesWhilePlaying — read the property directly if you don't need the interface-typed access.
- • There's no C++-only UFUNCTION, so it can't be called from Blueprint; it exists purely to satisfy the parameter controller interface contract used internally by the audio engine.
Signature
bool GetDisableParameterUpdatesWhilePlaying() const override { return static_cast<bool>(bDisableParameterUpdatesWhilePlaying); } Return Type
bool Example
Check before pushing a live parameter update C++
if (!AudioComponent->GetDisableParameterUpdatesWhilePlaying())
{
AudioComponent->SetFloatParameter(TEXT("Intensity"), 0.75f);
} See Also
Tags
Version History
Introduced in: 5.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?