UAudioComponent::AudioComponentUserID
#include "Components/AudioComponent.h"
Access: public
Specifiers: UPROPERTY
Description
A serialized, user-assignable identifier for this audio component, intended for use by third-party audio plugins that need a stable ID independent of the object's name or GUID.
Caveats & Gotchas
- • Not exposed to Blueprint (no EditAnywhere/BlueprintReadWrite specifiers) — it can only be read or written from C++.
- • Distinct from GetAudioComponentID(), which returns an engine-assigned runtime uint64; AudioComponentUserID is a designer/plugin-assigned FName that the engine itself never sets.
Signature
FName AudioComponentUserID Example
Assigning a plugin-facing ID C++
AudioComponent->AudioComponentUserID = FName(TEXT("VOChannel_Player1")); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?