Navigation
API > API/Plugins > API/Plugins/UAF
Bindable enum value. Stores the raw int32 fallback alongside the UEnum class so that the editor binding picker can filter compatible enum variables.
The declaring node data type should initialize EnumClass and ConstantValue in its default constructor, e.g.: LoopMode.SetConstantValue((int32)EAnimAssetLoopMode::Auto); LoopMode.EnumClass = StaticEnum
Enums whose underlying type exceeds 32 bits are not supported; a runtime ensure will fire if such an enum is bound.
| Name | FBindableEnum |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/BindableValue/UAFBindableTypes.h |
| Include Path | #include "BindableValue/UAFBindableTypes.h" |
Syntax
USTRUCT (BlueprintType , MinimalAPI)
struct FBindableEnum : public FBindableValueBase
Inheritance Hierarchy
- FBindableValueBase → FBindableEnum
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| BindableValue/UAFBindableTypes.h | |||
FBindableEnum
(
UEnum* InEnumClass |
BindableValue/UAFBindableTypes.h | ||
FBindableEnum
(
T InValue |
Constructs with EnumClass and ConstantValue both derived from the enum value. | BindableValue/UAFBindableTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConstantValue | int32 | BindableValue/UAFBindableTypes.h |
|
|
| EnumClass | TObjectPtr< UEnum > | Enum class for variable-picker filtering. Set by the declaring node's constructor. | BindableValue/UAFBindableTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ExportTextItem
(
FString& ValueStr, |
BindableValue/UAFBindableTypes.h | ||
int32 GetConstantValue () |
BindableValue/UAFBindableTypes.h | ||
T GetConstantValue () |
Type-safe constant value getter — T must be a UENUM. | BindableValue/UAFBindableTypes.h | |
UEnum * GetEnumClass() |
BindableValue/UAFBindableTypes.h | ||
int32 GetValue
(
FUAFAssetInstance* Instance |
BindableValue/UAFBindableTypes.h | ||
T GetValue
(
FUAFAssetInstance* Instance |
Type-safe getter — T must be a UENUM. | BindableValue/UAFBindableTypes.h | |
bool Identical
(
const FBindableEnum* Other, |
BindableValue/UAFBindableTypes.h | ||
bool ImportTextItem
(
const TCHAR*& Buffer, |
BindableValue/UAFBindableTypes.h | ||
void SetConstantValue
(
int32 InValue |
BindableValue/UAFBindableTypes.h | ||
void SetConstantValue
(
T InValue |
Type-safe constant value setter — T must be a UENUM. | BindableValue/UAFBindableTypes.h | |
void SetEnumClass
(
UEnum* InEnumClass |
BindableValue/UAFBindableTypes.h |