Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateAttributeDescriptor
A EInvalidationWidgetReason Attribute It can be explicitly initialize or can be a callback static function or lambda that returns the EInvalidationReason. The signature of the function takes a const SWidget& as argument.
| Name | FInvalidateWidgetReasonAttribute |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Types/SlateAttributeDescriptor.h |
| Include Path | #include "Types/SlateAttributeDescriptor.h" |
Syntax
struct FInvalidateWidgetReasonAttribute
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Types/SlateAttributeDescriptor.h | |||
| Types/SlateAttributeDescriptor.h | |||
FInvalidateWidgetReasonAttribute
(
EInvalidateWidgetReason InReason |
Default constructor. | Types/SlateAttributeDescriptor.h | |
FInvalidateWidgetReasonAttribute
(
TIdentity_T< typename FGetter::template TFuncPtr< PayloadTypes... > > InFuncPtr, |
Types/SlateAttributeDescriptor.h | ||
FInvalidateWidgetReasonAttribute
(
LambdaType&& InCallable, |
Types/SlateAttributeDescriptor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Arg1Type | const class SWidget & | Types/SlateAttributeDescriptor.h | |
| FGetter | TDelegate< EInvalidateWidgetReason(Arg1Type), FNotThreadSafeNotCheckedDelegateUserPolicy > | Using "not checked" delegate to disable race detection. This delegate is used in a static (FSlateWidgetClassData) and will be destructed after the tls array used in the race detection code (which will result in a use after free). | Types/SlateAttributeDescriptor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FSlateAttributeDescriptor | friend | Types/SlateAttributeDescriptor.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Getter | FGetter | Types/SlateAttributeDescriptor.h | ||
| Reason | EInvalidateWidgetReason | Types/SlateAttributeDescriptor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EInvalidateWidgetReason Get
(
const SWidget& Widget |
Types/SlateAttributeDescriptor.h | ||
bool IsBound() |
Types/SlateAttributeDescriptor.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Types/SlateAttributeDescriptor.h | |||
| Types/SlateAttributeDescriptor.h |