BIS fnc easeIn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )P([a-z])" to "$1p$3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )S([a-z])" to "$1s$3") |
||
Line 12: | Line 12: | ||
|p1= a: [[Number]] - (Optional, default 0) first point (start) | |p1= a: [[Number]] - (Optional, default 0) first point (start) | ||
|p2= b: [[Number]] - (Optional, default 0) | |p2= b: [[Number]] - (Optional, default 0) second point (end) | ||
|p3= alpha: [[Number]] - (Optional, default 0) original interpolation speed | |p3= alpha: [[Number]] - (Optional, default 0) original interpolation speed |
Revision as of 12:32, 8 November 2023
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:
- Example 2:
- Example 3:
Additional Information
- See also:
- BIS_fnc_lerp Function Group: Interpolation
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