UAudioComponent::EnvelopeFollowerReleaseTime
#include "Components/AudioComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
The release time, in milliseconds, for the envelope follower used to compute amplitude values delegates like OnAudioSingleEnvelopeValue can read.
Caveats & Gotchas
- • Only affects the audio-mixer envelope follower, same restriction as EnvelopeFollowerAttackTime.
- • A longer release time smooths out the decay of the reported envelope value, which is often desirable for visuals to avoid flickering but adds lag when using the value to trigger gameplay events.
Signature
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Analysis, meta = (ClampMin = "0", UIMin = "0"))
int32 EnvelopeFollowerReleaseTime; Example
Configure envelope follower timing for a VU-meter effect C++
AudioComponent->EnvelopeFollowerAttackTime = 10;
AudioComponent->EnvelopeFollowerReleaseTime = 100; Tags
Version History
Introduced in: 4.25
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?