bezierInterpolation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(WIP - someone who has knowledge of this please write more information)
 
No edit summary
Line 23: Line 23:


| [[Array]] |Return Value=
| [[Array]] |Return Value=
|s2= progress [[bezierInterpolation]] <nowiki>[[x1, y1, z1], ... [xn, yn, zn]]</nowiki> |Syntax2=
|p21=progress: [[Number]]
|p22=<nowiki>[[x1, y1, z1], ... [xn, yn, zn]]</nowiki>: [[Array]]
|r2= [[Array]] |Return Value2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:04, 21 May 2019

Hover & click on the images for description

Description

Description:
Gets interpolated value based on bezier curve with given control points (progress is 0-1)Template:wip
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
progress bezierInterpolation [[x1, y1], ... [xn, yn]]
Parameters:
progress: Number
[[x1, y1], ... [xn, yn]]: Array
Return Value:
Array

Alternative Syntax

Syntax:
progress bezierInterpolation [[x1, y1, z1], ... [xn, yn, zn]]
Parameters:
progress: Number
[[x1, y1, z1], ... [xn, yn, zn]]: Array
Return Value:
Array

Examples

Example 1:

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

Bottom Section