UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNullSlateSoundDevice Class Reference

#include <NullSlateSoundDevice.h>

+ Inheritance diagram for FNullSlateSoundDevice:

Public Member Functions

virtual SLATECORE_API void PlaySound (const FSlateSound &, int32) const override
 
virtual SLATECORE_API float GetSoundDuration (const FSlateSound &Sound) const override
 
virtual SLATECORE_API ~FNullSlateSoundDevice ()
 
- Public Member Functions inherited from ISlateSoundDevice
virtual ~ISlateSoundDevice ()
 

Detailed Description

Silent implementation of ISlateSoundDevice; it plays nothing.

Constructor & Destructor Documentation

◆ ~FNullSlateSoundDevice()

FNullSlateSoundDevice::~FNullSlateSoundDevice ( )
virtual

Member Function Documentation

◆ GetSoundDuration()

float FNullSlateSoundDevice::GetSoundDuration ( const FSlateSound Sound) const
overridevirtual
Returns
The duration of the given sound resource

Implements ISlateSoundDevice.

◆ PlaySound()

void FNullSlateSoundDevice::PlaySound ( const FSlateSound Sound,
int32  UserIndex 
) const
overridevirtual

Play the sound resource within the given Slate sound object

Implements ISlateSoundDevice.


The documentation for this class was generated from the following files: