UAudioComponent::ConcurrencySet
#include "Components/AudioComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
The set of USoundConcurrency rules applied to sounds generated by this component, controlling how many instances can play simultaneously and which get cut off when limits are exceeded.
Caveats & Gotchas
- • Replaces the older single-asset ConcurrencySettings_DEPRECATED field — you can assign multiple rules here and all of them are evaluated together.
- • Each USoundConcurrency asset's voice-count limit is shared across every component referencing it, so this set only controls which rules apply to this component, not the limits themselves.
Signature
TSet<TObjectPtr<USoundConcurrency>> ConcurrencySet Example
Limit simultaneous gunshot instances C++
AudioComp->ConcurrencySet.Add(GunshotConcurrencyRule);
AudioComp->Play(); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?