BIS_fnc_easeIn

From Bohemia Interactive Community
Revision as of 18:16, 10 June 2021 by Lou Montana (talk | contribs) (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Interpolation

Syntax

Syntax:
Syntax needed
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