Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Animation
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- TAnimatedAttributeBase
- TAnimatedAttribute
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Animation/AnimatedAttribute.h |
| Include | #include "Framework/Animation/AnimatedAttribute.h" |
Syntax
template<typename NumericType>
class TAnimatedAttribute : public TAnimatedAttributeBase
Remarks
Animated Attribute object
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
TAnimatedAttribute
(
FPrivateToken, |
Construct only from interpolator settings This is used only for the Create methods and only accessible from there due to the use of a protected FPrivateToken. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< TAnimatedAttribute > | Create
(
const InterpolatorSettings& InSettings, |
Static: Creates an animated attribute implicitly from an initial value | |
| TSharedRef< TAnimatedAttribute > | CreateWithGetter
(
const InterpolatorSettings& InSettings, |
Static: Creates an animated attribute that's pre-bound to the specified 'getter' delegate | |
| TSharedRef< TAnimatedAttribute > | CreateWithGetter
(
const InterpolatorSettings& InSettings, |
Static: Creates an animated attribute that's pre-bound to the specified 'getter' delegate | |
| void | Disables the interpolator and returns values in immediate mode | ||
| void | EnableInterpolation
(
bool bEnabled |
Enables (or disables) the interpolator and returns values in interpolated or immediate mode | |
| const NumericType & | Get
(
const NumericType& DefaultValue |
Gets the attribute's current value. | |
| const NumericType & | Get () |
Gets the attribute's current value. Assumes that the attribute is set. | |
| TOptional< NumericType > | GetDelay () |
Returns the currently set delay on the interpolator | |
| const NumericType & | Returns the desired value this attribute is trying to reach. | ||
| double | Returns the overall deltatime of the interpolator | ||
| bool | IdenticalTo
(
const TAnimatedAttribute& InOther |
Is this attribute identical to another TAnimationAttribute. | |
| bool | IsBound () |
Checks to see if this attribute has a 'getter' function bound | |
| bool | IsPlaying () |
Returns true if the attribute is currently animating | |
| bool | IsSet () |
Was this TAnimatedAttribute ever assigned? | |
| TAttributeInterpolator< NumericType >::FInterpolatorEvent & | Returns the delegate to react to the interpolator starting to interpolate | ||
| TAttributeInterpolator< NumericType >::FInterpolatorEvent & | Returns the delegate to react to the interpolator ending to interpolate | ||
| void | Set
(
const OtherType& InNewValue |
Sets the attribute's value while keeping a running interpolation going. | |
| void | Set
(
NumericType&& InNewValue |
Sets the attribute's value while keeping a running interpolation going. | |
| void | SetDelayOneShot
(
double InDelay |
Sets the attribute's delay as a one shot | |
| void | SetTolerance
(
double Tolerance |
Sets the tolerance of this interpolator | |
| void | SetValueAndStop
(
const NumericType& InNewValue |
Sets the attribute's value and disables animation. | |
| void | SetValueAndStop
(
NumericType&& InNewValue |
Sets the attribute's value and disables animation. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPrivateToken |
Typedefs
| Name | Description |
|---|---|
| FGetter | Attribute 'getter' delegateNumericType GetValue() const |