ManiaScript  2019-10-10
The script language used in ManiaPlanet gaming system
Functions
AnimLib Namespace Reference

Functions

Real SmoothStep (Real _X)
 Returns the value smoothly transitionning from 0 to 1. More...
 
Real Ease (Text _Function, Real _T, Real _Base, Real _Change, Real _Duration)
 Returns the value animated from Base to Base+Delta using Robert Penner easing functions. Function must be one of: "Linear", "QuadIn", "QuadOut", "QuadInOut", "CubicIn", "CubicOut", "CubicInOut", "QuartIn", "QuartOut", "QuartInOut", "QuintIn", "QuintOut", "QuintInOut", "SineIn", "SineOut", "SineInOut", "ExpIn", "ExpOut", "ExpInOut", "CircIn", "CircOut", "CircInOut", "BackIn", "BackOut", "BackInOut", "ElasticIn", "ElasticOut", "ElasticInOut", "ElasticIn2", "ElasticOut2", "ElasticInOut2", "BounceIn", "BounceOut", "BounceInOut". More...
 
Real EaseLinear (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInQuad (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutQuad (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutQuad (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInCubic (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutCubic (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutCubic (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInQuart (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutQuart (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutQuart (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInQuint (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutQuint (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutQuint (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInSine (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutSine (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutSine (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInExp (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutExp (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutExp (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInCirc (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutCirc (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutCirc (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInBack (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutBack (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutBack (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInElastic (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutElastic (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutElastic (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInElastic2 (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutElastic2 (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutElastic2 (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInBounce (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseOutBounce (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 
Real EaseInOutBounce (Integer _T, Real _Base, Real _Change, Integer _Duration)
 Returns the value animated from Base to Base+Delta using R. Penner easing functions. More...
 

Function Documentation

◆ Ease()

Real AnimLib::Ease ( Text  _Function,
Real  _T,
Real  _Base,
Real  _Change,
Real  _Duration 
)

Returns the value animated from Base to Base+Delta using Robert Penner easing functions. Function must be one of: "Linear", "QuadIn", "QuadOut", "QuadInOut", "CubicIn", "CubicOut", "CubicInOut", "QuartIn", "QuartOut", "QuartInOut", "QuintIn", "QuintOut", "QuintInOut", "SineIn", "SineOut", "SineInOut", "ExpIn", "ExpOut", "ExpInOut", "CircIn", "CircOut", "CircInOut", "BackIn", "BackOut", "BackInOut", "ElasticIn", "ElasticOut", "ElasticInOut", "ElasticIn2", "ElasticOut2", "ElasticInOut2", "BounceIn", "BounceOut", "BounceInOut".

◆ EaseInBack()

Real AnimLib::EaseInBack ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInBounce()

Real AnimLib::EaseInBounce ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInCirc()

Real AnimLib::EaseInCirc ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInCubic()

Real AnimLib::EaseInCubic ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInElastic()

Real AnimLib::EaseInElastic ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInElastic2()

Real AnimLib::EaseInElastic2 ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInExp()

Real AnimLib::EaseInExp ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutBack()

Real AnimLib::EaseInOutBack ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutBounce()

Real AnimLib::EaseInOutBounce ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutCirc()

Real AnimLib::EaseInOutCirc ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutCubic()

Real AnimLib::EaseInOutCubic ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutElastic()

Real AnimLib::EaseInOutElastic ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutElastic2()

Real AnimLib::EaseInOutElastic2 ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutExp()

Real AnimLib::EaseInOutExp ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutQuad()

Real AnimLib::EaseInOutQuad ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutQuart()

Real AnimLib::EaseInOutQuart ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutQuint()

Real AnimLib::EaseInOutQuint ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInOutSine()

Real AnimLib::EaseInOutSine ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInQuad()

Real AnimLib::EaseInQuad ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInQuart()

Real AnimLib::EaseInQuart ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInQuint()

Real AnimLib::EaseInQuint ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseInSine()

Real AnimLib::EaseInSine ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseLinear()

Real AnimLib::EaseLinear ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutBack()

Real AnimLib::EaseOutBack ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutBounce()

Real AnimLib::EaseOutBounce ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutCirc()

Real AnimLib::EaseOutCirc ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutCubic()

Real AnimLib::EaseOutCubic ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutElastic()

Real AnimLib::EaseOutElastic ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutElastic2()

Real AnimLib::EaseOutElastic2 ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutExp()

Real AnimLib::EaseOutExp ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutQuad()

Real AnimLib::EaseOutQuad ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutQuart()

Real AnimLib::EaseOutQuart ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutQuint()

Real AnimLib::EaseOutQuint ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ EaseOutSine()

Real AnimLib::EaseOutSine ( Integer  _T,
Real  _Base,
Real  _Change,
Integer  _Duration 
)

Returns the value animated from Base to Base+Delta using R. Penner easing functions.

◆ SmoothStep()

Real AnimLib::SmoothStep ( Real  _X)

Returns the value smoothly transitionning from 0 to 1.