RealDocs

USoundClass

class Engine Blueprint Since 4.0
#include "Sound/SoundClass.h"

Description

A hierarchical category asset that groups sounds and applies shared volume, pitch, reverb, and submix routing. SoundMixes target SoundClasses to bulk-adjust multiple sounds simultaneously.

Caveats & Gotchas

  • SoundClass Properties (volume, pitch) are not modifiable at runtime directly — use SoundMix to push and pop temporary adjustments.
  • Properties cascade to child SoundClasses multiplicatively. A volume change on a parent multiplies through all descendants, which can produce unexpected results in deep hierarchies.
  • LoadingBehavior on a SoundClass propagates to all member SoundWaves that don't have their own override. Changing it can have a significant impact on memory usage.

Example

Assign a SoundClass to a SoundBase C++
// Set in the asset editor, or at runtime:
MySoundWave->SoundClassObject = MusicSoundClass;

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.