Sequine - Scripting API
Calcatz.Sequine.EasingFunction Class Reference

Public Types

enum  Ease {
  EaseInQuad = 0 , EaseOutQuad , EaseInOutQuad , EaseInCubic ,
  EaseOutCubic , EaseInOutCubic , EaseInQuart , EaseOutQuart ,
  EaseInOutQuart , EaseInQuint , EaseOutQuint , EaseInOutQuint ,
  EaseInSine , EaseOutSine , EaseInOutSine , EaseInExpo ,
  EaseOutExpo , EaseInOutExpo , EaseInCirc , EaseOutCirc ,
  EaseInOutCirc , Linear , Spring , EaseInBounce ,
  EaseOutBounce , EaseInOutBounce , EaseInBack , EaseOutBack ,
  EaseInOutBack , EaseInElastic , EaseOutElastic , EaseInOutElastic
}
 

Public Member Functions

delegate float Function (float start, float end, float value)
 

Static Public Member Functions

static float Linear (float start, float end, float value)
 
static float Spring (float start, float end, float value)
 
static float EaseInQuad (float start, float end, float value)
 
static float EaseOutQuad (float start, float end, float value)
 
static float EaseInOutQuad (float start, float end, float value)
 
static float EaseInCubic (float start, float end, float value)
 
static float EaseOutCubic (float start, float end, float value)
 
static float EaseInOutCubic (float start, float end, float value)
 
static float EaseInQuart (float start, float end, float value)
 
static float EaseOutQuart (float start, float end, float value)
 
static float EaseInOutQuart (float start, float end, float value)
 
static float EaseInQuint (float start, float end, float value)
 
static float EaseOutQuint (float start, float end, float value)
 
static float EaseInOutQuint (float start, float end, float value)
 
static float EaseInSine (float start, float end, float value)
 
static float EaseOutSine (float start, float end, float value)
 
static float EaseInOutSine (float start, float end, float value)
 
static float EaseInExpo (float start, float end, float value)
 
static float EaseOutExpo (float start, float end, float value)
 
static float EaseInOutExpo (float start, float end, float value)
 
static float EaseInCirc (float start, float end, float value)
 
static float EaseOutCirc (float start, float end, float value)
 
static float EaseInOutCirc (float start, float end, float value)
 
static float EaseInBounce (float start, float end, float value)
 
static float EaseOutBounce (float start, float end, float value)
 
static float EaseInOutBounce (float start, float end, float value)
 
static float EaseInBack (float start, float end, float value)
 
static float EaseOutBack (float start, float end, float value)
 
static float EaseInOutBack (float start, float end, float value)
 
static float EaseInElastic (float start, float end, float value)
 
static float EaseOutElastic (float start, float end, float value)
 
static float EaseInOutElastic (float start, float end, float value)
 
static float LinearD (float start, float end, float value)
 
static float EaseInQuadD (float start, float end, float value)
 
static float EaseOutQuadD (float start, float end, float value)
 
static float EaseInOutQuadD (float start, float end, float value)
 
static float EaseInCubicD (float start, float end, float value)
 
static float EaseOutCubicD (float start, float end, float value)
 
static float EaseInOutCubicD (float start, float end, float value)
 
static float EaseInQuartD (float start, float end, float value)
 
static float EaseOutQuartD (float start, float end, float value)
 
static float EaseInOutQuartD (float start, float end, float value)
 
static float EaseInQuintD (float start, float end, float value)
 
static float EaseOutQuintD (float start, float end, float value)
 
static float EaseInOutQuintD (float start, float end, float value)
 
static float EaseInSineD (float start, float end, float value)
 
static float EaseOutSineD (float start, float end, float value)
 
static float EaseInOutSineD (float start, float end, float value)
 
static float EaseInExpoD (float start, float end, float value)
 
static float EaseOutExpoD (float start, float end, float value)
 
static float EaseInOutExpoD (float start, float end, float value)
 
static float EaseInCircD (float start, float end, float value)
 
static float EaseOutCircD (float start, float end, float value)
 
static float EaseInOutCircD (float start, float end, float value)
 
static float EaseInBounceD (float start, float end, float value)
 
static float EaseOutBounceD (float start, float end, float value)
 
static float EaseInOutBounceD (float start, float end, float value)
 
static float EaseInBackD (float start, float end, float value)
 
static float EaseOutBackD (float start, float end, float value)
 
static float EaseInOutBackD (float start, float end, float value)
 
static float EaseInElasticD (float start, float end, float value)
 
static float EaseOutElasticD (float start, float end, float value)
 
static float EaseInOutElasticD (float start, float end, float value)
 
static float SpringD (float start, float end, float value)
 
static Function GetEasingFunction (Ease easingFunction)
 Returns the function associated to the easingFunction enum. This value returned should be cached as it allocates memory to return. More...
 
static Function GetEasingFunctionDerivative (Ease easingFunction)
 Gets the derivative function of the appropriate easing function. If you use an easing function for position then this function can get you the speed at a given time (normalized). More...
 

Member Enumeration Documentation

◆ Ease

Enumerator
EaseInQuad 
EaseOutQuad 
EaseInOutQuad 
EaseInCubic 
EaseOutCubic 
EaseInOutCubic 
EaseInQuart 
EaseOutQuart 
EaseInOutQuart 
EaseInQuint 
EaseOutQuint 
EaseInOutQuint 
EaseInSine 
EaseOutSine 
EaseInOutSine 
EaseInExpo 
EaseOutExpo 
EaseInOutExpo 
EaseInCirc 
EaseOutCirc 
EaseInOutCirc 
Linear 
Spring 
EaseInBounce 
EaseOutBounce 
EaseInOutBounce 
EaseInBack 
EaseOutBack 
EaseInOutBack 
EaseInElastic 
EaseOutElastic 
EaseInOutElastic 

Member Function Documentation

◆ EaseInBack()

static float Calcatz.Sequine.EasingFunction.EaseInBack ( float  start,
float  end,
float  value 
)
static

◆ EaseInBackD()

static float Calcatz.Sequine.EasingFunction.EaseInBackD ( float  start,
float  end,
float  value 
)
static

◆ EaseInBounce()

static float Calcatz.Sequine.EasingFunction.EaseInBounce ( float  start,
float  end,
float  value 
)
static

◆ EaseInBounceD()

static float Calcatz.Sequine.EasingFunction.EaseInBounceD ( float  start,
float  end,
float  value 
)
static

◆ EaseInCirc()

static float Calcatz.Sequine.EasingFunction.EaseInCirc ( float  start,
float  end,
float  value 
)
static

◆ EaseInCircD()

static float Calcatz.Sequine.EasingFunction.EaseInCircD ( float  start,
float  end,
float  value 
)
static

◆ EaseInCubic()

static float Calcatz.Sequine.EasingFunction.EaseInCubic ( float  start,
float  end,
float  value 
)
static

◆ EaseInCubicD()

static float Calcatz.Sequine.EasingFunction.EaseInCubicD ( float  start,
float  end,
float  value 
)
static

◆ EaseInElastic()

static float Calcatz.Sequine.EasingFunction.EaseInElastic ( float  start,
float  end,
float  value 
)
static

◆ EaseInElasticD()

static float Calcatz.Sequine.EasingFunction.EaseInElasticD ( float  start,
float  end,
float  value 
)
static

◆ EaseInExpo()

static float Calcatz.Sequine.EasingFunction.EaseInExpo ( float  start,
float  end,
float  value 
)
static

◆ EaseInExpoD()

static float Calcatz.Sequine.EasingFunction.EaseInExpoD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutBack()

static float Calcatz.Sequine.EasingFunction.EaseInOutBack ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutBackD()

static float Calcatz.Sequine.EasingFunction.EaseInOutBackD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutBounce()

static float Calcatz.Sequine.EasingFunction.EaseInOutBounce ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutBounceD()

static float Calcatz.Sequine.EasingFunction.EaseInOutBounceD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutCirc()

static float Calcatz.Sequine.EasingFunction.EaseInOutCirc ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutCircD()

static float Calcatz.Sequine.EasingFunction.EaseInOutCircD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutCubic()

static float Calcatz.Sequine.EasingFunction.EaseInOutCubic ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutCubicD()

static float Calcatz.Sequine.EasingFunction.EaseInOutCubicD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutElastic()

static float Calcatz.Sequine.EasingFunction.EaseInOutElastic ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutElasticD()

static float Calcatz.Sequine.EasingFunction.EaseInOutElasticD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutExpo()

static float Calcatz.Sequine.EasingFunction.EaseInOutExpo ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutExpoD()

static float Calcatz.Sequine.EasingFunction.EaseInOutExpoD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutQuad()

static float Calcatz.Sequine.EasingFunction.EaseInOutQuad ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutQuadD()

static float Calcatz.Sequine.EasingFunction.EaseInOutQuadD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutQuart()

static float Calcatz.Sequine.EasingFunction.EaseInOutQuart ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutQuartD()

static float Calcatz.Sequine.EasingFunction.EaseInOutQuartD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutQuint()

static float Calcatz.Sequine.EasingFunction.EaseInOutQuint ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutQuintD()

static float Calcatz.Sequine.EasingFunction.EaseInOutQuintD ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutSine()

static float Calcatz.Sequine.EasingFunction.EaseInOutSine ( float  start,
float  end,
float  value 
)
static

◆ EaseInOutSineD()

static float Calcatz.Sequine.EasingFunction.EaseInOutSineD ( float  start,
float  end,
float  value 
)
static

◆ EaseInQuad()

static float Calcatz.Sequine.EasingFunction.EaseInQuad ( float  start,
float  end,
float  value 
)
static

◆ EaseInQuadD()

static float Calcatz.Sequine.EasingFunction.EaseInQuadD ( float  start,
float  end,
float  value 
)
static

◆ EaseInQuart()

static float Calcatz.Sequine.EasingFunction.EaseInQuart ( float  start,
float  end,
float  value 
)
static

◆ EaseInQuartD()

static float Calcatz.Sequine.EasingFunction.EaseInQuartD ( float  start,
float  end,
float  value 
)
static

◆ EaseInQuint()

static float Calcatz.Sequine.EasingFunction.EaseInQuint ( float  start,
float  end,
float  value 
)
static

◆ EaseInQuintD()

static float Calcatz.Sequine.EasingFunction.EaseInQuintD ( float  start,
float  end,
float  value 
)
static

◆ EaseInSine()

static float Calcatz.Sequine.EasingFunction.EaseInSine ( float  start,
float  end,
float  value 
)
static

◆ EaseInSineD()

static float Calcatz.Sequine.EasingFunction.EaseInSineD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutBack()

static float Calcatz.Sequine.EasingFunction.EaseOutBack ( float  start,
float  end,
float  value 
)
static

◆ EaseOutBackD()

static float Calcatz.Sequine.EasingFunction.EaseOutBackD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutBounce()

static float Calcatz.Sequine.EasingFunction.EaseOutBounce ( float  start,
float  end,
float  value 
)
static

◆ EaseOutBounceD()

static float Calcatz.Sequine.EasingFunction.EaseOutBounceD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutCirc()

static float Calcatz.Sequine.EasingFunction.EaseOutCirc ( float  start,
float  end,
float  value 
)
static

◆ EaseOutCircD()

static float Calcatz.Sequine.EasingFunction.EaseOutCircD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutCubic()

static float Calcatz.Sequine.EasingFunction.EaseOutCubic ( float  start,
float  end,
float  value 
)
static

◆ EaseOutCubicD()

static float Calcatz.Sequine.EasingFunction.EaseOutCubicD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutElastic()

static float Calcatz.Sequine.EasingFunction.EaseOutElastic ( float  start,
float  end,
float  value 
)
static

◆ EaseOutElasticD()

static float Calcatz.Sequine.EasingFunction.EaseOutElasticD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutExpo()

static float Calcatz.Sequine.EasingFunction.EaseOutExpo ( float  start,
float  end,
float  value 
)
static

◆ EaseOutExpoD()

static float Calcatz.Sequine.EasingFunction.EaseOutExpoD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutQuad()

static float Calcatz.Sequine.EasingFunction.EaseOutQuad ( float  start,
float  end,
float  value 
)
static

◆ EaseOutQuadD()

static float Calcatz.Sequine.EasingFunction.EaseOutQuadD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutQuart()

static float Calcatz.Sequine.EasingFunction.EaseOutQuart ( float  start,
float  end,
float  value 
)
static

◆ EaseOutQuartD()

static float Calcatz.Sequine.EasingFunction.EaseOutQuartD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutQuint()

static float Calcatz.Sequine.EasingFunction.EaseOutQuint ( float  start,
float  end,
float  value 
)
static

◆ EaseOutQuintD()

static float Calcatz.Sequine.EasingFunction.EaseOutQuintD ( float  start,
float  end,
float  value 
)
static

◆ EaseOutSine()

static float Calcatz.Sequine.EasingFunction.EaseOutSine ( float  start,
float  end,
float  value 
)
static

◆ EaseOutSineD()

static float Calcatz.Sequine.EasingFunction.EaseOutSineD ( float  start,
float  end,
float  value 
)
static

◆ Function()

delegate float Calcatz.Sequine.EasingFunction.Function ( float  start,
float  end,
float  value 
)

◆ GetEasingFunction()

static Function Calcatz.Sequine.EasingFunction.GetEasingFunction ( Ease  easingFunction)
static

Returns the function associated to the easingFunction enum. This value returned should be cached as it allocates memory to return.

Parameters
easingFunctionThe enum associated with the easing function.
Returns
The easing function

◆ GetEasingFunctionDerivative()

static Function Calcatz.Sequine.EasingFunction.GetEasingFunctionDerivative ( Ease  easingFunction)
static

Gets the derivative function of the appropriate easing function. If you use an easing function for position then this function can get you the speed at a given time (normalized).

Parameters
easingFunction
Returns
The derivative function

◆ Linear()

static float Calcatz.Sequine.EasingFunction.Linear ( float  start,
float  end,
float  value 
)
static

◆ LinearD()

static float Calcatz.Sequine.EasingFunction.LinearD ( float  start,
float  end,
float  value 
)
static

◆ Spring()

static float Calcatz.Sequine.EasingFunction.Spring ( float  start,
float  end,
float  value 
)
static

◆ SpringD()

static float Calcatz.Sequine.EasingFunction.SpringD ( float  start,
float  end,
float  value 
)
static