ApplyEasingAlt
From GECK
A function added by the ShowOff NVSE Plugin version 1.80.
Description
Applies an easing function to an input value (assumed to be between 0-1), to specify the rate of change of that input over time, and returns that eased value.
The easing function to use is specified via easingFuncCode. Possible values:
Sine = 0 Quad = 1 Cubic = 2 Quart = 3 Quint = 4 Circ = 5 Expo = 6 Back = 7 Elastic = 8 Bounce = 9
easingMode is used to specify the mode of the easing function. Possible values:
0 = EaseIn 1 = EaseOut 2 = EaseInOut
Returns -1 if the operation was not successful (example: invalid easingFuncName string).
This function can only be used in a script, not as a Condition.
Syntax
(easedValue:float{0-1}) ApplyEasingAlt input:float{0-1} easingFuncCode:int easingMode:int{0,1,2}
Or:
(easedValue:float{0-1}) EaseAlt input:float{0-1} easingFuncCode:int easingMode:int{0,1,2}
See Also
- ApplyEasing - uses a string to specify the easing function instead (recommended for readability).
- Lerp