UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NullSlateSoundDevice.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "HAL/Platform.h"
8
9struct FSlateSound;
10
13{
14public:
15 SLATECORE_API virtual void PlaySound(const FSlateSound&, int32) const override;
16 SLATECORE_API virtual float GetSoundDuration(const FSlateSound& Sound) const override;
18};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NullSlateSoundDevice.h:13
virtual SLATECORE_API void PlaySound(const FSlateSound &, int32) const override
Definition NullSlateSoundDevice.cpp:5
virtual SLATECORE_API float GetSoundDuration(const FSlateSound &Sound) const override
Definition NullSlateSoundDevice.cpp:9
virtual SLATECORE_API ~FNullSlateSoundDevice()
Definition NullSlateSoundDevice.cpp:14
Definition ISlateSoundDevice.h:10
Definition SlateSound.h:16