Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateSound
Description
Construct a FSlateSound from a FName
This functionality is deprecated and should only be used for upgrading old data
| Name | FromName_DEPRECATED |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Sound/SlateSound.h |
| Include Path | #include "Sound/SlateSound.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Sound/SlateSound.cpp |
static FSlateSound FromName_DEPRECATED
(
const FName & SoundName
)
An FSlateSound object with a ResourceObject pointer that's either set the given sound, or points to null if the sound could not be found
Parameters
| Name | Remarks |
|---|---|
| SoundName | The name of the sound to load, eg) SoundCue'/Game/QA_Assets/Sound/TEST_Music_Ambient.TEST_Music_Ambient' |