BIS fnc easeIn: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Interp |GROUP1=") |
m (Text replacement - "|gr1 = Interp |GROUP1=" to "|gr1 = Interpolation |GROUP1=") |
||
Line 5: | Line 5: | ||
|1.78|Game version= | |1.78|Game version= | ||
|gr1 = | |gr1 = Interpolation |GROUP1= | ||
<!---|arg= local |Multiplayer Arguments=---> | <!---|arg= local |Multiplayer Arguments=---> |
Revision as of 15:31, 10 October 2020
Description
- Description:
- Wraps BIS_fnc_lerp.
- Execution:
- call
- Groups:
- Interpolation
Syntax
- Syntax:
- [a, b, alpha, exp] call BIS_fnc_easeIn
- Parameters:
- a: Number - (Optional, default 0) First point (start)
- b: Number - (Optional, default 0) Second point (end)
- alpha: Number - (Optional, default 0) Original interpolation speed
- exp: Number - (Optional, default 2) Power applied to alpha
- Return Value:
- Number - Interpolated value
Examples
- Example 1:
[] call BIS_fnc_easeIn; // returns 0
- Example 2:
[0, 2, 0.5] call BIS_fnc_easeIn; // returns 0.5
- Example 3:
([0, 2, 0.5] call BIS_fnc_lerp) == ([0, 2, 0.5, 1] call BIS_fnc_easeIn) // returns true
Additional Information
- See also:
- BIS_fnc_lerpFunction Group: Interp
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note