Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/Attribute.h |
Include |
#include "Misc/Attribute.h" |
const ObjectType & Get
(
const ObjectType & DefaultValue
) const
Gets the attribute's current value. The attribute may not be set, in which case use the default value provided. Shorthand for the boilerplate code: MyAttribute.IsSet() ? MyAttribute.Get() : DefaultValue