ISlateSoundDevice

Interface that Slate uses to play sounds.

Windows
MacOS
Linux

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

Name Description

Public function Virtual

~ISlateSoundDevice()

Virtual destructor: because it is an interface / pure virtual base class.

Functions

Name Description

Public function Const

float

 

GetSoundDuration

(
    const FSlateSound& Sound
)

Public function 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