Lumino
ln::EasingFunctions Class Reference

補間関数の定義。 各関数の引数は、t:現在時間(0.0~d) b:開始値 c:値の変化量 (目標値-開始値) d:変化にかける時間。 More...

#include <EasingFunctions.hpp>

Static Public Member Functions

template<typename TValue , typename TTime >
static TValue linearTween (TTime t, TValue b, TValue c, TTime d)
 simple linear tweening - no easing, no acceleration
 
template<typename TValue , typename TTime >
static TValue easeInQuad (TTime t, TValue b, TValue c, TTime d)
 quadratic easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutQuad (TTime t, TValue b, TValue c, TTime d)
 quadratic easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutQuad (TTime t, TValue b, TValue c, TTime d)
 quadratic easing in/out - acceleration until halfway, then deceleration
 
template<typename TValue , typename TTime >
static TValue easeInCubic (TTime t, TValue b, TValue c, TTime d)
 cubic easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutCubic (TTime t, TValue b, TValue c, TTime d)
 cubic easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutCubic (TTime t, TValue b, TValue c, TTime d)
 cubic easing in/out - acceleration until halfway, then deceleration
 
template<typename TValue , typename TTime >
static TValue easeInQuart (TTime t, TValue b, TValue c, TTime d)
 quartic easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutQuart (TTime t, TValue b, TValue c, TTime d)
 quartic easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutQuart (TTime t, TValue b, TValue c, TTime d)
 quartic easing in/out - acceleration until halfway, then deceleration
 
template<typename TValue , typename TTime >
static TValue easeInQuint (TTime t, TValue b, TValue c, TTime d)
 quintic easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutQuint (TTime t, TValue b, TValue c, TTime d)
 quintic easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutQuint (TTime t, TValue b, TValue c, TTime d)
 quintic easing in/out - acceleration until halfway, then deceleration
 
template<typename TValue , typename TTime >
static TValue easeInSine (TTime t, TValue b, TValue c, TTime d)
 sinusoidal easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutSine (TTime t, TValue b, TValue c, TTime d)
 sinusoidal easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutSine (TTime t, TValue b, TValue c, TTime d)
 sinusoidal easing in/out - accelerating until halfway, then decelerating
 
template<typename TValue , typename TTime >
static TValue easeInExpo (TTime t, TValue b, TValue c, TTime d)
 exponential easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutExpo (TTime t, TValue b, TValue c, TTime d)
 exponential easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutExpo (TTime t, TValue b, TValue c, TTime d)
 exponential easing in/out - accelerating until halfway, then decelerating
 
template<typename TValue , typename TTime >
static TValue easeInCirc (TTime t, TValue b, TValue c, TTime d)
 circular easing in - accelerating from zero velocity
 
template<typename TValue , typename TTime >
static TValue easeOutCirc (TTime t, TValue b, TValue c, TTime d)
 circular easing out - decelerating to zero velocity
 
template<typename TValue , typename TTime >
static TValue easeInOutCirc (TTime t, TValue b, TValue c, TTime d)
 circular easing in/out - acceleration until halfway, then deceleration
 

Detailed Description

補間関数の定義。 各関数の引数は、t:現在時間(0.0~d) b:開始値 c:値の変化量 (目標値-開始値) d:変化にかける時間。


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