{"name":"BIS_fnc_easeIn","title":"BIS fnc easeIn","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_easeIn","revid":348777,"updated":"2023-11-08T14:33:15Z","groups":["Interpolation"],"status":"ok","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","description":"Wraps BIS_fnc_lerp.","syntaxes":[{"syntax":"[a, b, alpha, exp] call BIS_fnc_easeIn","params":[{"name":"a","type":"Number","optional":true,"default":"0","description":"first point (start)","type_expr":"Number","text":"a: Number - (Optional, default 0) first point (start)"},{"name":"b","type":"Number","optional":true,"default":"0","description":"second point (end)","type_expr":"Number","text":"b: Number - (Optional, default 0) second point (end)"},{"name":"alpha","type":"Number","optional":true,"default":"0","description":"original interpolation speed","type_expr":"Number","text":"alpha: Number - (Optional, default 0) original interpolation speed"},{"name":"exp","type":"Number","optional":true,"default":"2","description":"power applied to alpha","type_expr":"Number","text":"exp: Number - (Optional, default 2) power applied to alpha"}],"returns":{"type":"Number","type_expr":"Number","description":"interpolated value"}}],"examples":[{"code":["[] call BIS_fnc_easeIn; // returns 0"]},{"code":["[0, 2, 0.5] call BIS_fnc_easeIn; // returns 0.5"]},{"code":["([0, 2, 0.5] call BIS_fnc_lerp) == ([0, 2, 0.5, 1] call BIS_fnc_easeIn); // returns true"]}],"see_also":["BIS_fnc_lerp"]}