FNullSlateSoundDevice

Silent implementation of [ISlateSoundDevice](API\Runtime\SlateCore\Sound\ISlateSoundDevice); it plays nothing.

Windows
MacOS
Linux

Inheritance Hierarchy

ISlateSoundDevice

FNullSlateSoundDevice

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Sound/NullSlateSoundDevice.h

Include

#include "Sound/NullSlateSoundDevice.h"

Syntax

class FNullSlateSoundDevice : public ISlateSoundDevice

Remarks

Silent implementation of ISlateSoundDevice; it plays nothing.

Destructors

Name Description

Public function Virtual

~FNullSlateSoundDevice()

Overridden from ISlateSoundDevice

Name Description

Public function Virtual Const

float

 

GetSoundDuration

(
    const FSlateSound& Sound
)

Public function Virtual Const

void

 

PlaySound

(
    const FSlateSound& Sound,
    int32 UserIndex
)

Play the sound resource within the given Slate sound object

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