UEditorEngine::PlayEditorSound

Plays an editor sound, loading the sound on demand if necessary (if the user has sounds enabled.) The reference to the sound asset is not retained.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

void PlayEditorSound
(
    const FString & SoundAssetName
)

Remarks

Plays an editor sound, loading the sound on demand if necessary (if the user has sounds enabled.) The reference to the sound asset is not retained.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss