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

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

Static Public Member Functions

static float ApplyModifier (RaModifierType modifierType, float x)
 Applies the ModifierType to the given value and returns the modified variant of that value More...
 

Detailed Description

Util class that handles the logics of RaModifierType

Member Function Documentation

◆ ApplyModifier()

static float RaTweening.Core.RaTweenModifier.ApplyModifier ( RaModifierType  modifierType,
float  x 
)
static

Applies the ModifierType to the given value and returns the modified variant of that value

Parameters
modifierTypeThe ModifierType to apply to the given value
xRepresenting the value to modify, mainly used to specify the normalized time within the tween
Returns
The modified variant of x