BIS fnc easeIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects( \("local" or "gl...)
m (Text replacement - "{{Function " to "{{RV|type=function ")
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
| arma3

Revision as of 11:07, 23 January 2021

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:
Return value needed

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:
See also needed

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