RaTweening 1.0.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
RaTweening.Core.RaTweenEasing Class Reference

Util class that handles the logics of RaEasingType More...

Static Public Member Functions

static float Evaluate (RaEasingType easingType, float x)
 Gives the Evaluation value of x, where x represents the time and the value returned is the current value within the evaluated curve More...
 

Detailed Description

Util class that handles the logics of RaEasingType

Member Function Documentation

◆ Evaluate()

static float RaTweening.Core.RaTweenEasing.Evaluate ( RaEasingType  easingType,
float  x 
)
static

Gives the Evaluation value of x, where x represents the time and the value returned is the current value within the evaluated curve

Parameters
easingTypeThe EasingType to evaluate over x
xThe horizontal time axis within the curve, from which the value is desired.
Returns
The Value on x on the curve of the EasingType