Navigation
API > API/Runtime > API/Runtime/SlateCore
Describes the static information about a Widget's type SlateAttributes.
| Name | FSlateAttributeDescriptor |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Types/SlateAttributeDescriptor.h |
| Include Path | #include "Types/SlateAttributeDescriptor.h" |
Syntax
class FSlateAttributeDescriptor
Structs
| Name | Remarks |
|---|---|
| FAttribute | |
| FContainer | |
| FContainerInitializer | Internal class to initialize the SlateAttributeDescriptor::FContainer attributes (Add attributes or modify existing attributes). |
| FInitializer | Internal class to initialize the SlateAttributeDescriptor (Add attributes or modify existing attributes). |
| FInvalidateWidgetReasonAttribute | A EInvalidationWidgetReason Attribute It can be explicitly initialize or can be a callback static function or lambda that returns the EInvalidationReason. |
Enums
Public
| Name | Remarks |
|---|---|
| ECallbackOverrideType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAttributeValueChangedDelegate | TDelegate< void(SWidget &), 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 |
| OffsetType | uint32 | Types/SlateAttributeDescriptor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Attributes | TArray< FAttribute > | Types/SlateAttributeDescriptor.h | ||
| Containers | TArray< FContainer, TInlineAllocator< 1 > > | Types/SlateAttributeDescriptor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FAttribute * FindAttribute
(
FName AttributeName |
Types/SlateAttributeDescriptor.h | ||
const FAttribute * FindContainedAttribute
(
FName ContainerName, |
Types/SlateAttributeDescriptor.h | ||
const FContainer * FindContainer
(
FName ContainerName |
Types/SlateAttributeDescriptor.h | ||
const FAttribute * FindMemberAttribute
(
OffsetType AttributeOffset |
Types/SlateAttributeDescriptor.h | ||
const FAttribute & GetAttributeAtIndex
(
int32 Index |
Types/SlateAttributeDescriptor.h | ||
int32 GetAttributeNum() |
Types/SlateAttributeDescriptor.h | ||
int32 IndexOfAttribute
(
FName AttributeName |
Types/SlateAttributeDescriptor.h | ||
int32 IndexOfContainedAttribute
(
FName ContainerName, |
Types/SlateAttributeDescriptor.h | ||
int32 IndexOfContainer
(
FName AttributeName |
Types/SlateAttributeDescriptor.h | ||
int32 IndexOfMemberAttribute
(
OffsetType AttributeOffset |
Types/SlateAttributeDescriptor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static OffsetType DefaultSortOrder
(
OffsetType Offset |
The default sort order that define in which order attributes will be updated. | Types/SlateAttributeDescriptor.h |