Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/TAnimatedAttribute
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const NumericType & Get () |
Gets the attribute's current value. Assumes that the attribute is set. | Framework/Animation/AnimatedAttribute.h | |
const NumericType & Get
(
const NumericType& DefaultValue |
Gets the attribute's current value. | Framework/Animation/AnimatedAttribute.h |
Get()
Description
Gets the attribute's current value. Assumes that the attribute is set.
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Animation/AnimatedAttribute.h |
| Include Path | #include "Framework/Animation/AnimatedAttribute.h" |
const NumericType & Get() const
The attribute's value
Get(const NumericType &)
Description
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
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Animation/AnimatedAttribute.h |
| Include Path | #include "Framework/Animation/AnimatedAttribute.h" |
const NumericType & Get
(
const NumericType & DefaultValue
) const