A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
ControlsReminderWidgetInfo.h
Go to the documentation of this file.
1// Copyright(c) Pixo Group. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UI/UIData.h"
7#include "ControlsReminderWidgetInfo.generated.h"
8
12USTRUCT(BlueprintType)
13struct FDeviceTexture
14{
17 UPROPERTY(EditAnywhere, BlueprintReadWrite)
19
20 UPROPERTY(EditAnywhere, BlueprintReadWrite)
21 UTexture2D* DeviceTexture;
22};
23
27UCLASS()
28class PIXOCORE_API UControlsReminderWidgetInfo : public UBasicWidgetInfo
29{
31
33 {
34 Heading = FText::FromString(TEXT("Controls Reminder"));
35 //bExitMenuButton = true;
36 }
37
38protected:
39 UPROPERTY(EditAnywhere, BlueprintReadWrite)
40 TArray<FDeviceTexture> DevicesTextures;
42 UPROPERTY()
43 FString CurrentDeviceName;
44
45public:
46 void SetCurrentDevice(const FName& DeviceName);
51 UTexture2D* GetCurrentDeviceTexture() const;
52};
UDataAsset class representing basic widget information.
Definition UIData.h:56
Widget information class for the controls reminder widget in the PixoCore module.
TArray< FDeviceTexture > DevicesTextures
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Structure for storing device texture information.
UTexture2D * DeviceTexture
UPROPERTY(EditAnywhere, BlueprintReadWrite)
FString DeviceTypeName
UPROPERTY(EditAnywhere, BlueprintReadWrite)