|
Arma Reforger Script API
|
Represents three 2D curves, where every four floats next to each other in the underlying array are organized as (x, y0, y1, y2).
More...
Public Member Functions | |
| vector | GetPoint (int pointIndex, int curveIndex) |
| void | SetPointValue (int pointIndex, int curveIndex, float value) |
Represents three 2D curves, where every four floats next to each other in the underlying array are organized as (x, y0, y1, y2).
Curve points share the x value, and then three separate y values are present, one for each curve.
It is indended to be used as a property in following way:
It may then be evaluated with following code, where i is index of the curve to be evaluated, ranging from 0 to 2:
| vector Curve3.GetPoint | ( | int | pointIndex, |
| int | curveIndex ) |
(x, y, 0). | void Curve3.SetPointValue | ( | int | pointIndex, |
| int | curveIndex, | ||
| float | value ) |