UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SEnumPropertyValue.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
8
9
10namespace UE::PropertyViewer
11{
12
13class INotifyHook;
14
17{
18public:
20
21public:
26
27 ADVANCEDWIDGETS_API void Construct(const FArguments& InArgs);
28
30 FText GetText() const;
31 TSharedRef<SWidget> OnGetMenuContent();
32 //bool IsEnumEntryChecked(int32 Index) const;
33 void SetEnumEntry(int32 Index);
34 int32 GetCurrentValue() const;
35
36 TWeakObjectPtr<const UEnum> EnumType;
37 FPropertyPath Path;
38 INotifyHook* NotifyHook = nullptr;
39};
40
41} //namespace
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
#define SLATE_END_ARGS()
Definition DeclarativeSyntaxSupport.h:116
Definition Text.h:385
Definition SCompoundWidget.h:22
Definition SWidget.h:165
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition INotifyHook.h:13
Definition SEnumPropertyValue.h:17
SLATE_ARGUMENT(INotifyHook *, NotifyHook)
SLATE_BEGIN_ARGS(SEnumPropertyValue)
Definition SEnumPropertyValue.h:22
ADVANCEDWIDGETS_API void Construct(const FArguments &InArgs)
Definition SEnumPropertyValue.cpp:28
static ADVANCEDWIDGETS_API TSharedPtr< SWidget > CreateInstance(const FPropertyValueFactory::FGenerateArgs Args)
Definition SEnumPropertyValue.cpp:19
Definition Class.h:2791
Definition FieldIconFinder.cpp:16
U16 Index
Definition radfft.cpp:71
Definition WeakObjectPtrTemplates.h:25
Definition PropertyPath.h:27