Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/FAttributeBinder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAttribute< AttributeType > BindColumn
(
TFunction< AttributeType(const ColumnType&)> InConverter |
Bind a whole TEDS column to a slate attribute (instead of a single member variable). | Elements/Framework/TypedElementAttributeBinding.h | |
auto BindColumn
(
FunctionType&& InConverter |
Overload for the BindColumn to accept lambdas instead of TFunctions | Elements/Framework/TypedElementAttributeBinding.h |
BindColumn(TFunction< AttributeType(const ColumnType &)>)
Description
Bind a whole TEDS column to a slate attribute (instead of a single member variable). This allows you to derive an attribute from multiple members of a TEDS column
Example: const TAttribute TestIntAttribute(Binder.BindColumn
| Name | BindColumn |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType, TDataColumnType ColumnType>
TAttribute < AttributeType > BindColumn
(
TFunction < AttributeType> InConverter
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InConverter | Conversion function to convert from ColumnType -> AttributeType |
BindColumn(FunctionType &&)
Description
Overload for the BindColumn to accept lambdas instead of TFunctions
| Name | BindColumn |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<TDataColumnType ColumnType, typename FunctionType>
auto BindColumn
(
FunctionType && InConverter
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InConverter | Conversion function to convert from DataType -> AttributeType |