UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateAttributeDescriptor::FContainerInitializer::FAttributeEntry Struct Reference

#include <SlateAttributeDescriptor.h>

Public Member Functions

SLATECORE_API FAttributeEntry (FSlateAttributeDescriptor &Descriptor, FName ContainerName, int32 AttributeIndex)
 
SLATECORE_API FAttributeEntryUpdatePrerequisite (FName Prerequisite)
 
SLATECORE_API FAttributeEntryOnValueChanged (FAttributeValueChangedDelegate Callback)
 

Constructor & Destructor Documentation

◆ FAttributeEntry()

FSlateAttributeDescriptor::FContainerInitializer::FAttributeEntry::FAttributeEntry ( FSlateAttributeDescriptor Descriptor,
FName  ContainerName,
int32  AttributeIndex 
)

Member Function Documentation

◆ OnValueChanged()

FSlateAttributeDescriptor::FContainerInitializer::FAttributeEntry & FSlateAttributeDescriptor::FContainerInitializer::FAttributeEntry::OnValueChanged ( FAttributeValueChangedDelegate  Callback)

Notified when the attribute value changed. It's preferable that you delay any action to the Tick or Paint function. You are not allowed to make changes that would affect the SWidget ChildOrder or its Visibility. It will not be called when the SWidget is in its construction phase.

See also
SWidget::IsConstructed

◆ UpdatePrerequisite()

FSlateAttributeDescriptor::FContainerInitializer::FAttributeEntry & FSlateAttributeDescriptor::FContainerInitializer::FAttributeEntry::UpdatePrerequisite ( FName  Prerequisite)

Update the attribute after the prerequisite. The order is guaranteed but other attributes may be updated in between. No order is guaranteed if the prerequisite or this property is updated manually.


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