Navigation
API > API/Runtime > API/Runtime/SlateCore
Interface that Slate uses to play sounds.
| Name | ISlateSoundDevice |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Sound/ISlateSoundDevice.h |
| Include Path | #include "Sound/ISlateSoundDevice.h" |
Syntax
class ISlateSoundDevice
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ISlateSoundDevice() |
Virtual destructor: because it is an interface / pure virtual base class. | Sound/ISlateSoundDevice.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetSoundDuration
(
const FSlateSound& Sound |
Sound/ISlateSoundDevice.h | ||
void PlaySound
(
const FSlateSound& Sound, |
Play the sound resource within the given Slate sound object | Sound/ISlateSoundDevice.h |