QuickTween 1.4.1
Loading...
Searching...
No Matches
FEaseFunctions< T > Class Template Reference

Provides a collection of static easing functions for interpolation. More...

#include <EaseFunctions.h>

Static Public Member Functions

static T Ease (T Start, T End, float Alpha, EEaseType EaseType, EEasePath Path=EEasePath::Default)
 Interpolates between Start and End using the specified easing type.
static T Ease (T Start, T End, float Alpha, const UCurveFloat *EaseCurve, EEasePath Path=EEasePath::Default)
static T EaseInSine (T Start, T End, float Alpha, EEasePath Path)
 Sine ease-in interpolation.
static T EaseOutSine (T Start, T End, float Alpha, EEasePath Path)
 Sine ease-out interpolation.
static T EaseInOutSine (T Start, T End, float Alpha, EEasePath Path)
 Sine ease-in-out interpolation.
static T EaseInQuad (T Start, T End, float Alpha, EEasePath Path)
 Quadratic ease-in interpolation.
static T EaseOutQuad (T Start, T End, float Alpha, EEasePath Path)
 Quadratic ease-out interpolation.
static T EaseInOutQuad (T Start, T End, float Alpha, EEasePath Path)
 Quadratic ease-in-out interpolation.
static T EaseInCubic (T Start, T End, float Alpha, EEasePath Path)
 Cubic ease-in interpolation.
static T EaseOutCubic (T Start, T End, float Alpha, EEasePath Path)
 Cubic ease-out interpolation.
static T EaseInOutCubic (T Start, T End, float Alpha, EEasePath Path)
 Cubic ease-in-out interpolation.
static T EaseInQuart (T Start, T End, float Alpha, EEasePath Path)
 Quartic ease-in interpolation.
static T EaseOutQuart (T Start, T End, float Alpha, EEasePath Path)
 Quartic ease-out interpolation.
static T EaseInOutQuart (T Start, T End, float Alpha, EEasePath Path)
 Quartic ease-in-out interpolation.
static T EaseInQuint (T Start, T End, float Alpha, EEasePath Path)
 Quintic ease-in interpolation.
static T EaseOutQuint (T Start, T End, float Alpha, EEasePath Path)
 Quintic ease-out interpolation.
static T EaseInOutQuint (T Start, T End, float Alpha, EEasePath Path)
 Quintic ease-in-out interpolation.
static T EaseInExpo (T Start, T End, float Alpha, EEasePath Path)
 Exponential ease-in interpolation.
static T EaseOutExpo (T Start, T End, float Alpha, EEasePath Path)
 Exponential ease-out interpolation.
static T EaseInOutExpo (T Start, T End, float Alpha, EEasePath Path)
 Exponential ease-in-out interpolation.
static T EaseInCirc (T Start, T End, float Alpha, EEasePath Path)
 Circular ease-in interpolation.
static T EaseOutCirc (T Start, T End, float Alpha, EEasePath Path)
 Circular ease-out interpolation.
static T EaseInOutCirc (T Start, T End, float Alpha, EEasePath Path)
 Circular ease-in-out interpolation.
static T EaseInBack (T Start, T End, float Alpha, EEasePath Path)
 Back ease-in interpolation.
static T EaseOutBack (T Start, T End, float Alpha, EEasePath Path)
 Back ease-out interpolation.
static T EaseInOutBack (T Start, T End, float Alpha, EEasePath Path)
 Back ease-in-out interpolation.
static T EaseInElastic (T Start, T End, float Alpha, EEasePath Path)
 Elastic ease-in interpolation.
static T EaseOutElastic (T Start, T End, float Alpha, EEasePath Path)
 Elastic ease-out interpolation.
static T EaseInOutElastic (T Start, T End, float Alpha, EEasePath Path)
 Elastic ease-in-out interpolation.
static T EaseOutBounce (T Start, T End, float Alpha, EEasePath Path)
 Bounce ease-out interpolation.
static T EaseInBounce (T Start, T End, float Alpha, EEasePath Path)
 Bounce ease-in interpolation.
static T EaseInOutBounce (T Start, T End, float Alpha, EEasePath Path)
 Bounce ease-in-out interpolation.

Detailed Description

template<typename T>
class FEaseFunctions< T >

Provides a collection of static easing functions for interpolation.

Template class for various easing functions, supporting types compatible with TEaseLerp<T>::Lerp. Easing functions are used to create smooth transitions and animations.

Template Parameters
TType to interpolate (e.g., float, FVector).

Member Function Documentation

◆ Ease()

template<typename T>
T FEaseFunctions< T >::Ease ( T Start,
T End,
float Alpha,
EEaseType EaseType,
EEasePath Path = EEasePath::Default )
inlinestatic

Interpolates between Start and End using the specified easing type.

Parameters
StartThe starting value.
EndThe ending value.
AlphaThe interpolation factor (0.0 to 1.0).
EaseTypeThe type of easing to use.
Returns
Interpolated value.

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