Navigation
API > API/Plugins > API/Plugins/UAF
Bindable struct value.
Call GetValue
- No binding (or null Instance): copies ConstantValue into OutValue, or zero-initializes OutValue if ConstantValue is empty.
- Variable binding: reads the named variable from Instance into OutValue.
- SubProperty binding: reads the leaf sub-property from a struct variable into OutValue.
T must be a USTRUCT. A runtime ensure verifies that T matches the bound or constant struct type.
| Name | FBindableStruct |
| 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 FBindableStruct : public FBindableValueBase
Inheritance Hierarchy
- FBindableValueBase → FBindableStruct
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| BindableValue/UAFBindableTypes.h | |||
FBindableStruct
(
UScriptStruct* InStructClass |
BindableValue/UAFBindableTypes.h | ||
FBindableStruct
(
const T& InValue |
Constructs with StructClass and ConstantValue both derived from T. | BindableValue/UAFBindableTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConstantValue | FInstancedStruct | BindableValue/UAFBindableTypes.h |
|
|
| StructClass | TObjectPtr< UScriptStruct > | Struct 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 | ||
const FInstancedStruct & GetConstantValue() |
BindableValue/UAFBindableTypes.h | ||
UScriptStruct * GetStructClass() |
BindableValue/UAFBindableTypes.h | ||
void GetValue
(
FUAFAssetInstance* Instance, |
Resolves the binding into OutValue, falling back to ConstantValue on failure. | BindableValue/UAFBindableTypes.h | |
bool Identical
(
const FBindableStruct* Other, |
BindableValue/UAFBindableTypes.h | ||
bool ImportTextItem
(
const TCHAR*& Buffer, |
BindableValue/UAFBindableTypes.h | ||
void SetConstantValue
(
const FInstancedStruct& InValue |
BindableValue/UAFBindableTypes.h | ||
void SetConstantValue
(
FInstancedStruct&& InValue |
BindableValue/UAFBindableTypes.h | ||
void SetStructClass
(
UScriptStruct* InStructClass |
BindableValue/UAFBindableTypes.h |