Open 3D Engine ScriptedEntityTweener Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ScriptedEntityTweener::EasingEquations Class Reference

A collection of common easing/tweening equations. More...

#include <ScriptedEntityTweenerMath.h>

Static Public Member Functions

template<typename T >
static T GetEasingResult (EasingMethod easeMethod, EasingType easeType, float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultCombinedIn (float expo, float timeActive, float duration, T valueInitial, T valueTarget)
 Helper method to get EaseIn results for Quad, Cubic, Quart, and Quint since they all follow the same equation besides from how many times to multiply progressPercent.
 
template<typename T >
static T GetEasingResultInSine (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInExpo (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInCirc (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInElastic (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInBack (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInBounce (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutQuad (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutCubic (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutQuart (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutQuint (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutSine (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutExpo (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutCirc (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutElastic (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutBack (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultOutBounce (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutQuad (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutCubic (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutQuart (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutQuint (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutSine (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutExpo (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutCirc (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutElastic (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutBack (float timeActive, float duration, T valueInitial, T valueTarget)
 
template<typename T >
static T GetEasingResultInOutBounce (float timeActive, float duration, T valueInitial, T valueTarget)
 

Detailed Description

A collection of common easing/tweening equations.


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