Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Animation > API/Runtime/Slate/Framework/Animation/TAnimatedAttribute > API/Runtime/Slate/Framework/Animation/TAnimatedAttribute/Get
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Animation/AnimatedAttribute.h |
| Include | #include "Framework/Animation/AnimatedAttribute.h" |
const NumericType & Get
(
const NumericType & DefaultValue
) const
Remarks
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