RealDocs

UAudioComponent::VolumeModulationMin

property Engine Blueprint Since 4.0
#include "Components/AudioComponent.h"
Access: public Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite

Description

The lower bound used when randomly determining a volume multiplier each time the sound plays. Works together with VolumeModulationMax to produce per-playback volume variation.

Caveats & Gotchas

  • Only has an effect if VolumeModulationMax differs from VolumeModulationMin — with equal values the multiplier is constant.
  • The random multiplier is picked once per Play() call, not continuously re-rolled while the sound is active.
  • This multiplies VolumeMultiplier rather than replacing it, so extreme combinations of both can silence or clip the sound unexpectedly.

Signature

float VolumeModulationMin;

Example

Randomize volume per play C++
AudioComponent->VolumeModulationMin = 0.8f;
AudioComponent->VolumeModulationMax = 1.2f;
AudioComponent->Play();

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.