UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateAttributeDescriptor Class Reference

#include <SlateAttributeDescriptor.h>

Classes

struct  FAttribute
 
struct  FContainer
 
struct  FContainerInitializer
 
struct  FInitializer
 
struct  FInvalidateWidgetReasonAttribute
 

Public Types

enum class  ECallbackOverrideType { ReplacePrevious , ExecuteAfterPrevious , ExecuteBeforePrevious }
 
using FAttributeValueChangedDelegate = TDelegate< void(SWidget &), FNotThreadSafeNotCheckedDelegateUserPolicy >
 
using OffsetType = uint32
 

Public Member Functions

int32 GetAttributeNum () const
 
SLATECORE_API const FAttributeGetAttributeAtIndex (int32 Index) const
 
SLATECORE_API const FContainerFindContainer (FName ContainerName) const
 
SLATECORE_API const FAttributeFindAttribute (FName AttributeName) const
 
SLATECORE_API const FAttributeFindMemberAttribute (OffsetType AttributeOffset) const
 
SLATECORE_API const FAttributeFindContainedAttribute (FName ContainerName, OffsetType AttributeOffset) const
 
SLATECORE_API int32 IndexOfContainer (FName AttributeName) const
 
SLATECORE_API int32 IndexOfAttribute (FName AttributeName) const
 
SLATECORE_API int32 IndexOfMemberAttribute (OffsetType AttributeOffset) const
 
SLATECORE_API int32 IndexOfContainedAttribute (FName ContainerName, OffsetType AttributeOffset) const
 

Static Public Member Functions

static constexpr OffsetType DefaultSortOrder (OffsetType Offset)
 

Detailed Description

Describes the static information about a Widget's type SlateAttributes.

Member Typedef Documentation

◆ FAttributeValueChangedDelegate

◆ OffsetType

Member Enumeration Documentation

◆ ECallbackOverrideType

Enumerator
ReplacePrevious 

Replace the callback that the base class defined.

ExecuteAfterPrevious 

Execute the callback that the base class defined, then execute the new callback.

ExecuteBeforePrevious 

Execute the new callback, then execute the callback that the base class defined.

Member Function Documentation

◆ DefaultSortOrder()

static constexpr OffsetType FSlateAttributeDescriptor::DefaultSortOrder ( OffsetType  Offset)
inlinestaticconstexpr

The default sort order that define in which order attributes will be updated.

◆ FindAttribute()

const FSlateAttributeDescriptor::FAttribute * FSlateAttributeDescriptor::FindAttribute ( FName  AttributeName) const
Returns
the Attribute with the corresponding name.

◆ FindContainedAttribute()

const FSlateAttributeDescriptor::FAttribute * FSlateAttributeDescriptor::FindContainedAttribute ( FName  ContainerName,
OffsetType  AttributeOffset 
) const
Returns
the Attribute of a SlateAttribute that have the corresponding memory offset.

◆ FindContainer()

const FSlateAttributeDescriptor::FContainer * FSlateAttributeDescriptor::FindContainer ( FName  ContainerName) const
Returns
the Container with the corresponding name.

◆ FindMemberAttribute()

const FSlateAttributeDescriptor::FAttribute * FSlateAttributeDescriptor::FindMemberAttribute ( OffsetType  AttributeOffset) const
Returns
the Attribute of a SlateAttribute that have the corresponding memory offset.

◆ GetAttributeAtIndex()

FSlateAttributeDescriptor::FAttribute const & FSlateAttributeDescriptor::GetAttributeAtIndex ( int32  Index) const
Returns
the Attribute at the index previously found with IndexOfMemberAttribute

◆ GetAttributeNum()

int32 FSlateAttributeDescriptor::GetAttributeNum ( ) const
inline
Returns
the number of Attributes registered.

◆ IndexOfAttribute()

int32 FSlateAttributeDescriptor::IndexOfAttribute ( FName  AttributeName) const
Returns
the index of a SlateAttribute that have the corresponding memory offset.

◆ IndexOfContainedAttribute()

int32 FSlateAttributeDescriptor::IndexOfContainedAttribute ( FName  ContainerName,
OffsetType  AttributeOffset 
) const
Returns
the index of a SlateAttribute that have the corresponding memory offset.

◆ IndexOfContainer()

int32 FSlateAttributeDescriptor::IndexOfContainer ( FName  AttributeName) const
Returns
the index of the Container with the corresponding name.

◆ IndexOfMemberAttribute()

int32 FSlateAttributeDescriptor::IndexOfMemberAttribute ( OffsetType  AttributeOffset) const
Returns
the index of a SlateAttribute that have the corresponding memory offset.

The documentation for this class was generated from the following files: