{"name":"BIS_fnc_easeIn","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.78"}],"since":{"game":"arma3","name":"Arma 3","version":"1.78"},"arma3_since":"1.78","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Wraps BIS_fnc_lerp.","syntaxes":[{"syntax":"[a, b, alpha, exp] call BIS_fnc_easeIn","since":null,"effect":null,"exec":null,"params":[{"name":"a","type":"Number","optional":true,"default":"0","description":"first point (start)","types":["Number"],"since":null,"text":"a: Number - (Optional, default 0) first point (start)"},{"name":"b","type":"Number","optional":true,"default":"0","description":"second point (end)","types":["Number"],"since":null,"text":"b: Number - (Optional, default 0) second point (end)"},{"name":"alpha","type":"Number","optional":true,"default":"0","description":"original interpolation speed","types":["Number"],"since":null,"text":"alpha: Number - (Optional, default 0) original interpolation speed"},{"name":"exp","type":"Number","optional":true,"default":"2","description":"power applied to alpha","types":["Number"],"since":null,"text":"exp: Number - (Optional, default 2) power applied to alpha"}],"returns":{"type":"Number","types":["Number"],"description":"interpolated value","text":"Number - interpolated value"}}],"examples":[{"text":"```sqf\n[] call BIS_fnc_easeIn; // returns 0\n```","code":["[] call BIS_fnc_easeIn; // returns 0"]},{"text":"```sqf\n[0, 2, 0.5] call BIS_fnc_easeIn; // returns 0.5\n```","code":["[0, 2, 0.5] call BIS_fnc_easeIn; // returns 0.5"]},{"text":"```sqf\n([0, 2, 0.5] call BIS_fnc_lerp) == ([0, 2, 0.5, 1] call BIS_fnc_easeIn); // returns true\n```","code":["([0, 2, 0.5] call BIS_fnc_lerp) == ([0, 2, 0.5, 1] call BIS_fnc_easeIn); // returns true"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_lerp"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Interpolation","Functions","Introduced with Arma 3 version 1.78"],"docblock":null,"filled_from_docblock":[]}