Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateAttributeDescriptor > API/Runtime/SlateCore/FSlateAttributeDescriptor/FInitializer
Adjusted version of FAttributeEntry for Nested Attributes. The only difference is the signature of OnValueChanged, as we need to pass the PointerToAttributeOwner for a nested attribute
| Name | TNestedAttributeEntry |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Types/SlateAttributeDescriptor.h |
| Include Path | #include "Types/SlateAttributeDescriptor.h" |
Syntax
template<typename PointerToAttributeOwnerType>
struct TNestedAttributeEntry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TNestedAttributeEntry
(
FAttributeEntry&& InEntry, |
Types/SlateAttributeDescriptor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AttributeOwnerType | TRemoveMemberPtr_T< PointerToAttributeOwnerType > | Types/SlateAttributeDescriptor.h | |
| WidgetType | TMemberPtrOuter_T< PointerToAttributeOwnerType > | Types/SlateAttributeDescriptor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Entry | FAttributeEntry | Types/SlateAttributeDescriptor.h | ||
| PointerToAttributeOwner | PointerToAttributeOwnerType | Types/SlateAttributeDescriptor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| The attribute affect the visibility of the widget. | Types/SlateAttributeDescriptor.h | ||
TNestedAttributeEntry & OnValueChanged
(
TNestedAttributeValueChangedDelegate< PointerToAttributeOwnerType > Callback |
Notified when the attribute value changed. | Types/SlateAttributeDescriptor.h | |
TNestedAttributeEntry & OnValueChanged
(
TNestedAttributeValueChangedDelegateTyped< PointerToAttributeOwnerType > Callback |
Types/SlateAttributeDescriptor.h | ||
TNestedAttributeEntry & OnValueChanged_Lambda
(
LambdaType&& InFunctor |
Types/SlateAttributeDescriptor.h | ||
TNestedAttributeEntry & OnValueChanged_Static
(
TIdentity_T< typename TNestedAttributeValueChangedDelegate< PointerToAttributeOwnerType >::template ..., |
Types/SlateAttributeDescriptor.h | ||
TNestedAttributeEntry & OnValueChanged_Static
(
TIdentity_T< typename TNestedAttributeValueChangedDelegateTyped< PointerToAttributeOwnerType >::temp..., |
Types/SlateAttributeDescriptor.h | ||
TNestedAttributeEntry & UpdatePrerequisite
(
FName Prerequisite |
Update the attribute after the prerequisite. | Types/SlateAttributeDescriptor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void OnValueChangedConverter
(
SWidget& Widget, |
Types/SlateAttributeDescriptor.h | ||
static void OnValueChangedConverter
(
SWidget& Widget, |
Types/SlateAttributeDescriptor.h |