Hatch Game Engine Documentation v1.4.0
The documentation for the Hatch Game Engine
Loading...
Searching...
No Matches
Ease Class Reference

Easing functions. More...

Public Member Functions

decimal InSine (number value)
 Eases the value using the "InSine" formula.
decimal OutSine (number value)
 Eases the value using the "OutSine" formula.
decimal InOutSine (number value)
 Eases the value using the "InOutSine" formula.
decimal InQuad (number value)
 Eases the value using the "InQuad" formula.
decimal OutQuad (number value)
 Eases the value using the "OutQuad" formula.
decimal InOutQuad (number value)
 Eases the value using the "InOutQuad" formula.
decimal InCubic (number value)
 Eases the value using the "InCubic" formula.
decimal OutCubic (number value)
 Eases the value using the "OutCubic" formula.
decimal InOutCubic (number value)
 Eases the value using the "InOutCubic" formula.
decimal InQuart (number value)
 Eases the value using the "InQuart" formula.
decimal OutQuart (number value)
 Eases the value using the "OutQuart" formula.
decimal InOutQuart (number value)
 Eases the value using the "InOutQuart" formula.
decimal InQuint (number value)
 Eases the value using the "InQuint" formula.
decimal OutQuint (number value)
 Eases the value using the "OutQuint" formula.
decimal InOutQuint (number value)
 Eases the value using the "InOutQuint" formula.
decimal InExpo (number value)
 Eases the value using the "InExpo" formula.
decimal OutExpo (number value)
 Eases the value using the "OutExpo" formula.
decimal InOutExpo (number value)
 Eases the value using the "InOutExpo" formula.
decimal InCirc (number value)
 Eases the value using the "InCirc" formula.
decimal OutCirc (number value)
 Eases the value using the "OutCirc" formula.
decimal InOutCirc (number value)
 Eases the value using the "InOutCirc" formula.
decimal InBack (number value)
 Eases the value using the "InBack" formula.
decimal OutBack (number value)
 Eases the value using the "OutBack" formula.
decimal InOutBack (number value)
 Eases the value using the "InOutBack" formula.
decimal InElastic (number value)
 Eases the value using the "InElastic" formula.
decimal OutElastic (number value)
 Eases the value using the "OutElastic" formula.
decimal InOutElastic (number value)
 Eases the value using the "InOutElastic" formula.
decimal InBounce (number value)
 Eases the value using the "InBounce" formula.
decimal OutBounce (number value)
 Eases the value using the "OutBounce" formula.
decimal InOutBounce (number value)
 Eases the value using the "InOutBounce" formula.
decimal Triangle (number value)
 Eases the value using the "Triangle" formula.

Detailed Description

Easing functions.

See https://easings.net/ for more details.

Member Function Documentation

◆ InBack()

decimal Ease.InBack ( number value)

Eases the value using the "InBack" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InBounce()

decimal Ease.InBounce ( number value)

Eases the value using the "InBounce" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InCirc()

decimal Ease.InCirc ( number value)

Eases the value using the "InCirc" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InCubic()

decimal Ease.InCubic ( number value)

Eases the value using the "InCubic" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InElastic()

decimal Ease.InElastic ( number value)

Eases the value using the "InElastic" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InExpo()

decimal Ease.InExpo ( number value)

Eases the value using the "InExpo" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutBack()

decimal Ease.InOutBack ( number value)

Eases the value using the "InOutBack" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutBounce()

decimal Ease.InOutBounce ( number value)

Eases the value using the "InOutBounce" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutCirc()

decimal Ease.InOutCirc ( number value)

Eases the value using the "InOutCirc" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutCubic()

decimal Ease.InOutCubic ( number value)

Eases the value using the "InOutCubic" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutElastic()

decimal Ease.InOutElastic ( number value)

Eases the value using the "InOutElastic" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutExpo()

decimal Ease.InOutExpo ( number value)

Eases the value using the "InOutExpo" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutQuad()

decimal Ease.InOutQuad ( number value)

Eases the value using the "InOutQuad" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutQuart()

decimal Ease.InOutQuart ( number value)

Eases the value using the "InOutQuart" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutQuint()

decimal Ease.InOutQuint ( number value)

Eases the value using the "InOutQuint" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InOutSine()

decimal Ease.InOutSine ( number value)

Eases the value using the "InOutSine" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InQuad()

decimal Ease.InQuad ( number value)

Eases the value using the "InQuad" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InQuart()

decimal Ease.InQuart ( number value)

Eases the value using the "InQuart" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InQuint()

decimal Ease.InQuint ( number value)

Eases the value using the "InQuint" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ InSine()

decimal Ease.InSine ( number value)

Eases the value using the "InSine" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutBack()

decimal Ease.OutBack ( number value)

Eases the value using the "OutBack" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutBounce()

decimal Ease.OutBounce ( number value)

Eases the value using the "OutBounce" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutCirc()

decimal Ease.OutCirc ( number value)

Eases the value using the "OutCirc" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutCubic()

decimal Ease.OutCubic ( number value)

Eases the value using the "OutCubic" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutElastic()

decimal Ease.OutElastic ( number value)

Eases the value using the "OutElastic" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutExpo()

decimal Ease.OutExpo ( number value)

Eases the value using the "OutExpo" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutQuad()

decimal Ease.OutQuad ( number value)

Eases the value using the "OutQuad" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutQuart()

decimal Ease.OutQuart ( number value)

Eases the value using the "OutQuart" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutQuint()

decimal Ease.OutQuint ( number value)

Eases the value using the "OutQuint" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ OutSine()

decimal Ease.OutSine ( number value)

Eases the value using the "OutSine" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.

◆ Triangle()

decimal Ease.Triangle ( number value)

Eases the value using the "Triangle" formula.

Parameters
valuePercent value. (0.0 - 1.0)
Returns
Eased Number value between 0.0 and 1.0.