UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SWidget::TSlateAttributeRef< InObjectType, InInvalidationReasonValue, InComparePredicate > Struct Template Reference

#include <SWidget.h>

+ Inheritance diagram for SWidget::TSlateAttributeRef< InObjectType, InInvalidationReasonValue, InComparePredicate >:

Additional Inherited Members

- Public Types inherited from SlateAttributePrivate::TSlateMemberAttributeRef< AttributeMemberType >
using SlateAttributeType = AttributeMemberType
 
using ObjectType = typename AttributeMemberType::ObjectType
 
using AttributeType = TAttribute< ObjectType >
 
- Public Member Functions inherited from SlateAttributePrivate::TSlateMemberAttributeRef< AttributeMemberType >
template<typename WidgetType , typename V = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
 TSlateMemberAttributeRef (const TSharedRef< WidgetType > &InOwner, const AttributeMemberType &InAttribute)
 
 TSlateMemberAttributeRef (ESlateMemberAttributeRefNoCheckParam, const TSharedRef< SWidget > &InOwner, const AttributeMemberType &InAttribute)
 
bool IsValid () const
 
const ObjectTypeGet () const
 
const ObjectTypeGet (const ObjectType &DefaultValue) const
 
void UpdateValue ()
 
const ObjectTypeUpdateAndGet ()
 
const ObjectTypeUpdateAndGet (const ObjectType &DefaultValue)
 
TAttribute< ObjectTypeToAttribute () const
 
bool IsBound () const
 
bool IdenticalTo (const TSlateMemberAttributeRef &Other) const
 
bool IdenticalTo (const TAttribute< ObjectType > &Other) const
 

Detailed Description

template<typename InObjectType, EInvalidateWidgetReason InInvalidationReasonValue = EInvalidateWidgetReason::None, typename InComparePredicate = TSlateAttributeComparePredicate<>>
struct SWidget::TSlateAttributeRef< InObjectType, InInvalidationReasonValue, InComparePredicate >

A Reference to a TSlateAttribute.


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