Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
Include |
#include "Widgets/SWidget.h" |
template<typename TargetValueType, typename SourceValueType>
bool SetAttribute
(
TAttribute< TargetValueType > & TargetValue,
const TAttribute< SourceValueType > & SourceValue,
EInvalidateWidgetReason BaseInvalidationReason
)
Performs the attribute assignment and invalidates the widget minimally based on what actually changed. So if the boundness of the attribute didn't change volatility won't need to be recalculated. Returns true if the value changed.