Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Types > API/Runtime/SlateCore/Types/Attributes > API/Runtime/SlateCore/Types/Attributes/TSlateMemberAttributeRef > API/Runtime/SlateCore/Types/Attributes/TSlateMemberAttributeRef/UpdateAndGet
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Types/Attributes/SlateAttributeMember.inl |
Include | #include "Types/Attributes/SlateAttributeMember.inl" |
UE_NODISCARD const ObjectType & UpdateAndGet
&40;
const ObjectType & DefaultValue
&41;
Remarks
Shorthand for the boilerplace code: MyAttribute.UpdateValueNow(); MyAttribute.Get(DefaultValue); the SlateAttribute cached value or the DefaultValue if the reference is invalid.