Navigation
API > API/Runtime > API/Runtime/SlateCore
Silent implementation of ISlateSoundDevice; it plays nothing.
| Name | FNullSlateSoundDevice |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Sound/NullSlateSoundDevice.h |
| Include Path | #include "Sound/NullSlateSoundDevice.h" |
Syntax
class FNullSlateSoundDevice : public ISlateSoundDevice
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNullSlateSoundDevice() |
Sound/NullSlateSoundDevice.h |
Functions
Public
Overridden from ISlateSoundDevice
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetSoundDuration
(
const FSlateSound& Sound |
Sound/NullSlateSoundDevice.h | ||
virtual void PlaySound
(
const FSlateSound& Sound, |
Play the sound resource within the given Slate sound object | Sound/NullSlateSoundDevice.h |