UAudioComponent::SetSound

Set what sound is played by this component.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp

Syntax

void SetSound
(
    USoundBase * NewSound
)

Remarks

Set what sound is played by this component.