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