UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TWidgetSlotWithAttributeSupport< SlotType >::TSlateSlotAttribute< InObjectType, InComparePredicate > Struct Template Reference

#include <WidgetSlotWithAttributeSupport.h>

+ Inheritance diagram for TWidgetSlotWithAttributeSupport< SlotType >::TSlateSlotAttribute< InObjectType, InComparePredicate >:

Additional Inherited Members

- Public Types inherited from SlateAttributePrivate::TSlateContainedAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >
using FGetter = typename Super::FGetter
 
using ObjectType = typename Super::ObjectType
 
- Public Types inherited from SlateAttributePrivate::TSlateAttributeBase< ISlateAttributeContainer, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Contained >
using ObjectType = InObjectType
 
using FInvalidationReasonPredicate = InInvalidationReasonPredicate
 
using FGetter = typename TAttribute< ObjectType >::FGetter
 
using FComparePredicate = InComparePredicate
 
- Public Member Functions inherited from SlateAttributePrivate::TSlateContainedAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >
 TSlateContainedAttribute ()=delete
 
 TSlateContainedAttribute (const TSlateContainedAttribute &)=delete
 
 TSlateContainedAttribute (TSlateContainedAttribute &&)=delete
 
TSlateContainedAttributeoperator= (const TSlateContainedAttribute &)=delete
 
TSlateContainedAttributeoperator= (TSlateContainedAttribute &&)=delete
 
template<typename ContainerType , typename U = typename std::enable_if<std::is_base_of<ISlateAttributeContainer, ContainerType>::value>::type>
 TSlateContainedAttribute (ContainerType &Container)
 
template<typename ContainerType , typename U = typename std::enable_if<std::is_base_of<ISlateAttributeContainer, ContainerType>::value>::type>
 TSlateContainedAttribute (ContainerType &Container, const ObjectType &InValue)
 
template<typename ContainerType , typename U = typename std::enable_if<std::is_base_of<ISlateAttributeContainer, ContainerType>::value>::type>
 TSlateContainedAttribute (ContainerType &Container, ObjectType &&InValue)
 
- Public Member Functions inherited from SlateAttributePrivate::TSlateAttributeBase< ISlateAttributeContainer, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Contained >
bool IdenticalTo (const ISlateAttributeContainer &Widget, const TSlateAttributeBase &Other) const
 
bool IdenticalTo (const ISlateAttributeContainer &Widget, const TAttribute< ObjectType > &Other) const
 
 TSlateAttributeBase ()
 
 TSlateAttributeBase (const ObjectType &InValue)
 
 TSlateAttributeBase (ObjectType &&InValue)
 
 TSlateAttributeBase (SWidget &Widget)
 
 TSlateAttributeBase (SWidget &Widget, const ObjectType &InValue)
 
 TSlateAttributeBase (SWidget &Widget, ObjectType &&InValue)
 
 TSlateAttributeBase (SWidget &Widget, const FGetter &Getter, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, const FGetter &Getter, ObjectType &&InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, FGetter &&Getter, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, FGetter &&Getter, ObjectType &&InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, const TAttribute< ObjectType > &Attribute, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, TAttribute< ObjectType > &&Attribute, ObjectType &&InitialValue)
 
const ObjectTypeGet () const
 
void UpdateNow (ISlateAttributeContainer &Widget)
 
bool Set (ISlateAttributeContainer &Widget, const ObjectType &NewValue)
 
bool Set (ISlateAttributeContainer &Widget, ObjectType &&NewValue)
 
void Bind (ISlateAttributeContainer &Widget, const FGetter &Getter)
 
void Bind (ISlateAttributeContainer &Widget, FGetter &&Getter)
 
void Bind (WidgetType &Widget, typename FGetter::template TConstMethodPtr< WidgetType > MethodPtr)
 
bool Assign (ISlateAttributeContainer &Widget, const TAttribute< ObjectType > &OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (ISlateAttributeContainer &Widget, TAttribute< ObjectType > &&OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (ISlateAttributeContainer &Widget, const TAttribute< ObjectType > &OtherAttribute, const ObjectType &DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (ISlateAttributeContainer &Widget, TAttribute< ObjectType > &&OtherAttribute, const ObjectType &DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (ISlateAttributeContainer &Widget, const TAttribute< ObjectType > &OtherAttribute, ObjectType &&DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (ISlateAttributeContainer &Widget, TAttribute< ObjectType > &&OtherAttribute, ObjectType &&DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
void Unbind (ISlateAttributeContainer &Widget)
 
TAttribute< ObjectTypeToAttribute (const ISlateAttributeContainer &Widget) const
 
bool IsBound (const ISlateAttributeContainer &Widget) const
 
- Static Public Member Functions inherited from SlateAttributePrivate::TSlateAttributeBase< ISlateAttributeContainer, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Contained >
static EInvalidateWidgetReason GetInvalidationReason (const SWidget &Widget)
 
static EInvalidateWidgetReason GetInvalidationReason (const ISlateAttributeContainer &Container)
 
static bool IdenticalTo (const SWidget &Widget, const ObjectType &Lhs, const ObjectType &Rhs)
 
static bool IdenticalTo (const ISlateAttributeContainer &Container, const ObjectType &Lhs, const ObjectType &Rhs)
 
- Static Public Member Functions inherited from FSlateAttributeBase
template<typename T >
static constexpr bool IsInvalidateWidgetReasonSupported (T Reason)
 
static constexpr bool IsInvalidateWidgetReasonSupported (EInvalidateWidgetReason Reason)
 
- Static Public Attributes inherited from SlateAttributePrivate::TSlateAttributeBase< ISlateAttributeContainer, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Contained >
static const ESlateAttributeType AttributeType
 
static constexpr bool HasDefinedInvalidationReason
 
- Protected Member Functions inherited from SlateAttributePrivate::FSlateAttributeImpl
SLATECORE_API void ProtectedUnregisterAttribute (SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedRegisterAttribute (SWidget &Widget, ESlateAttributeType AttributeType, TUniquePtr< ISlateAttributeGetter > &&Wrapper)
 
SLATECORE_API void ProtectedInvalidateWidget (SWidget &Widget, ESlateAttributeType AttributeType, EInvalidateWidgetReason InvalidationReason) const
 
SLATECORE_API bool ProtectedIsBound (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API ISlateAttributeGetterProtectedFindGetter (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API FDelegateHandle ProtectedFindGetterHandle (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedUpdateNow (SWidget &Widget, ESlateAttributeType AttributeType)
 
SLATECORE_API bool ProtectedIsWidgetInDestructionPath (SWidget *Widget) const
 
SLATECORE_API bool ProtectedIsImplemented (const SWidget &Widget) const
 
SLATECORE_API void ProtectedMoveAttribute (SWidget &Widget, ESlateAttributeType AttributeType, const FSlateAttributeBase *Other)
 
SLATECORE_API void ProtectedUnregisterAttribute (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedRegisterAttribute (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType, TUniquePtr< ISlateAttributeGetter > &&Wrapper)
 
SLATECORE_API void ProtectedInvalidateWidget (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType, EInvalidateWidgetReason InvalidationReason) const
 
SLATECORE_API bool ProtectedIsBound (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API ISlateAttributeGetterProtectedFindGetter (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API FDelegateHandle ProtectedFindGetterHandle (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedUpdateNow (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType)
 

Detailed Description

template<typename SlotType>
template<typename InObjectType, typename InComparePredicate = TSlateAttributeComparePredicate<>>
struct TWidgetSlotWithAttributeSupport< SlotType >::TSlateSlotAttribute< InObjectType, InComparePredicate >

A SlateAttribute that is member variable of a FSlot. @usage: TSlateSlotAttribute<int32> MyAttribute1; TSlateSlotAttribute<int32, TSlateAttributeComparePredicate<>> MyAttribute2;


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