v1.2.26
Documentation for the Unreal C++ Plugin
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
12
USTRUCT(BlueprintType)
13
struct
FDeviceTexture
14
{
15
GENERATED_BODY
()
16
17
UPROPERTY(EditAnywhere, BlueprintReadWrite)
18
FString
DeviceTypeName
;
19
20
UPROPERTY(EditAnywhere, BlueprintReadWrite)
21
UTexture2D*
DeviceTexture
;
22
};
23
27
UCLASS()
28
class PIXOCORE_API
UControlsReminderWidgetInfo
: public
UBasicWidgetInfo
29
{
30
GENERATED_BODY
()
31
32
UControlsReminderWidgetInfo
() : Super()
33
{
34
Heading = FText::FromString(TEXT(
"Controls Reminder"
));
35
//bExitMenuButton = true;
36
}
37
38
protected
:
39
UPROPERTY(EditAnywhere, BlueprintReadWrite)
40
TArray<FDeviceTexture> DevicesTextures;
41
42
UPROPERTY()
43
FString CurrentDeviceName;
44
45
public:
46
void
SetCurrentDevice(const FName& DeviceName);
51
UTexture2D* GetCurrentDeviceTexture() const;
52
};
UIData.h
UBasicWidgetInfo
UDataAsset class representing basic widget information.
Definition
UIData.h:56
UControlsReminderWidgetInfo
Widget information class for the controls reminder widget in the PixoCore module.
Definition
ControlsReminderWidgetInfo.h:42
UControlsReminderWidgetInfo::DevicesTextures
TArray< FDeviceTexture > DevicesTextures
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Definition
ControlsReminderWidgetInfo.h:57
UControlsReminderWidgetInfo::UControlsReminderWidgetInfo
UControlsReminderWidgetInfo()
Definition
ControlsReminderWidgetInfo.h:45
UControlsReminderWidgetInfo::GENERATED_BODY
GENERATED_BODY()
UControlsReminderWidgetInfo::CurrentDeviceName
FString CurrentDeviceName
UPROPERTY()
Definition
ControlsReminderWidgetInfo.h:62
FDeviceTexture
Structure for storing device texture information.
Definition
ControlsReminderWidgetInfo.h:17
FDeviceTexture::DeviceTexture
UTexture2D * DeviceTexture
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Definition
ControlsReminderWidgetInfo.h:32
FDeviceTexture::DeviceTypeName
FString DeviceTypeName
UPROPERTY(EditAnywhere, BlueprintReadWrite)
Definition
ControlsReminderWidgetInfo.h:25
FDeviceTexture::GENERATED_BODY
GENERATED_BODY()
PixoCore
Source
PixoCore
Public
UI
ControlsReminder
ControlsReminderWidgetInfo.h
Generated
Wed Oct 9 2024 19:40:17
by Doxygen version
1.10.0