UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TEasingAttributeInterpolator< NumericType > Class Template Reference

#include <AttributeInterpolator.h>

+ Inheritance diagram for TEasingAttributeInterpolator< NumericType >:

Classes

struct  FSettings
 

Public Member Functions

 TEasingAttributeInterpolator (const FSettings &InSettings)
 
virtual bool IsTypeOf (EAttributeInterpolatorType InType) const override
 
virtual bool IdenticalTo (const TAttributeInterpolator< NumericType > *InOther) const override
 
- Public Member Functions inherited from TAttributeInterpolator< NumericType >
 DECLARE_MULTICAST_DELEGATE_OneParam (FInterpolatorEvent, TOptional< NumericType >)
 
 TAttributeInterpolator ()
 
virtual ~TAttributeInterpolator ()
 
bool IsSet () const
 
void Reset () const
 
bool IsEnabled () const
 
void SetEnabled (bool InEnabled=true)
 
void SetValue (const NumericType &InValue) const
 
void SetValueAndStop (const NumericType &InValue) const
 
const NumericType & Get () const
 
void Tick (float InDeltaTime)
 
double GetOverAllDeltaTime () const
 
void SetDelayOneShot (float InDelay) const
 
void SetTolerance (float InTolerance)
 
FInterpolatorEventOnInterpolationStarted ()
 
FInterpolatorEventOnInterpolationStopped ()
 
bool Equals (const float &InA, const float &InB, double InTolerance)
 
bool Equals (const double &InA, const double &InB, double InTolerance)
 

Protected Member Functions

virtual void Interpolate () const override
 
- Protected Member Functions inherited from TAttributeInterpolator< NumericType >
bool IsPlaying () const
 
virtual bool Start () const
 
virtual bool PlayIfStopped () const
 
virtual bool Stop () const
 
virtual bool Restart () const
 

Protected Attributes

FSettings Settings
 
- Protected Attributes inherited from TAttributeInterpolator< NumericType >
bool bEnabled
 
float Tolerance
 
TOptional< floatDelay
 
TOptional< floatOverallDeltaTime
 
TOptional< NumericType > InterpolatedValue
 
TOptional< NumericType > LastValue
 
TOptional< NumericType > DesiredValue
 
FInterpolatorEvent InterpolationStarted
 
FInterpolatorEvent InterpolationStopped
 

Additional Inherited Members

- Static Public Member Functions inherited from TAttributeInterpolator< NumericType >
static bool Equals (const NumericType &InA, const NumericType &InB, double InTolerance=0.001)
 

Detailed Description

template<typename NumericType>
class TEasingAttributeInterpolator< NumericType >

An easing attribute interpolator. This interpolator is to implement default easing functions such as Cubic etc probably to rely on FCurveSequence.

Constructor & Destructor Documentation

◆ TEasingAttributeInterpolator()

template<typename NumericType >
TEasingAttributeInterpolator< NumericType >::TEasingAttributeInterpolator ( const FSettings InSettings)
inlineexplicit

Member Function Documentation

◆ IdenticalTo()

template<typename NumericType >
virtual bool TEasingAttributeInterpolator< NumericType >::IdenticalTo ( const TAttributeInterpolator< NumericType > *  InOther) const
inlineoverridevirtual

Compares this interpolator to another one

Parameters
InOtherThe interpolator to compare this one to
Returns
True if the this interpolator is considered identical to the passed one

Implements TAttributeInterpolator< NumericType >.

◆ Interpolate()

template<typename NumericType >
virtual void TEasingAttributeInterpolator< NumericType >::Interpolate ( ) const
inlineoverrideprotectedvirtual

◆ IsTypeOf()

template<typename NumericType >
virtual bool TEasingAttributeInterpolator< NumericType >::IsTypeOf ( EAttributeInterpolatorType  InType) const
inlineoverridevirtual

Returns true if the interpolator is of a given type

Parameters
InTypeThe type to compare agains
Returns
True if the interpolator matches the type

Implements TAttributeInterpolator< NumericType >.

Member Data Documentation

◆ Settings

template<typename NumericType >
FSettings TEasingAttributeInterpolator< NumericType >::Settings
protected

The documentation for this class was generated from the following file: