Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Math

Classes

class  CurveColor
class  CurveFloat
class  CurveVector
class  Math
class  Math2D
class  Math3D
class  Curve

Enumerations

enum  ECurveType { CatmullRom , CurveProperty2D , CatmullRom , CurveProperty2D }
enum  ECurveType { CatmullRom , CurveProperty2D , CatmullRom , CurveProperty2D }
enum  WindingOrder {
  CLOCKWISE , COUNTERCLOCKWISE , INVALID , CLOCKWISE ,
  COUNTERCLOCKWISE , INVALID
}
enum  WindingOrder {
  CLOCKWISE , COUNTERCLOCKWISE , INVALID , CLOCKWISE ,
  COUNTERCLOCKWISE , INVALID
}

Functions

Curve array GetPoint (int pointIndex, int curveIndex)
void SetPointValue (int pointIndex, int curveIndex, float value)

Detailed Description

Math library

Enumeration Type Documentation

◆ ECurveType [1/2]

enum ECurveType
Enumerator
CatmullRom 
CurveProperty2D 
CatmullRom 
CurveProperty2D 

Definition at line 12 of file ECurveType.c.

◆ ECurveType [2/2]

enum ECurveType
Enumerator
CatmullRom 
CurveProperty2D 
CatmullRom 
CurveProperty2D 

Definition at line 12 of file ECurveType.c.

◆ WindingOrder [1/2]

Enumerator
CLOCKWISE 
COUNTERCLOCKWISE 
INVALID 

Missing components, or obstruction test was not possible.

CLOCKWISE 
COUNTERCLOCKWISE 
INVALID 

Missing components, or obstruction test was not possible.

Definition at line 12 of file WindingOrder.c.

◆ WindingOrder [2/2]

Enumerator
CLOCKWISE 
COUNTERCLOCKWISE 
INVALID 

Missing components, or obstruction test was not possible.

CLOCKWISE 
COUNTERCLOCKWISE 
INVALID 

Missing components, or obstruction test was not possible.

Definition at line 12 of file WindingOrder.c.

Function Documentation

◆ GetPoint()

Curve array GetPoint ( int pointIndex,
int curveIndex )

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:

[Attribute("", UIWidgets.GraphDialog)]
Curve3 m_Curve;
SCR_FieldOfViewSettings Attribute

It may then be evaluated with following code, where i is index of the curve to be evaluated, ranging from 0 to 2:

Math3D.Curve3(ECurveType.CatmullRom, t, m_Curve, i);
ECurveType
Definition ECurveType.c:13
Returns
Vector in format (x, y, 0).

Definition at line 1 of file Math.c.

◆ SetPointValue()

void SetPointValue ( int pointIndex,
int curveIndex,
float value )

Definition at line 56 of file Math.c.