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

Protected Member Functions

array< floatGetDataByAngleDeg (float angle, float windSpeed, float initSpeedCoef=1)
array< floatGetDataByAngle (float angle, float windSpeed=10, float initSpeedCoef=1)
array< floatGetDataByDisance (float distance, bool directFire, float windSpeed, float initSpeedCoef=1)
void SCR_ProjectileWindTable (array< ref SCR_ProjectileWindData > data)

Static Protected Member Functions

static SCR_ProjectileWindTable GetProjectileWindageData (notnull IEntity projectile)
static SCR_ProjectileWindTable GetProjectileWindageData (ResourceName projectileResource)
static SCR_ProjectileWindTable GetProjectileWindageData (notnull IEntitySource projectileEntitySrc)

Protected Attributes

ref array< ref SCR_ProjectileWindDatam_aData

Detailed Description

Definition at line 2 of file SCR_ProjectileWindTable.c.

Constructor & Destructor Documentation

◆ SCR_ProjectileWindTable()

void SCR_ProjectileWindTable::SCR_ProjectileWindTable ( array< ref SCR_ProjectileWindData > data)
inlineprotected
Parameters
[in]data

Definition at line 164 of file SCR_ProjectileWindTable.c.

Member Function Documentation

◆ GetDataByAngle()

array< float > SCR_ProjectileWindTable::GetDataByAngle ( float angle,
float windSpeed = 10,
float initSpeedCoef = 1 )
inlineprotected

Fetches data coresponding to the given angle

Parameters
[in]angle
[in]windSpeed
[in]initSpeedCoef
Returns
an array or null [0] angle in radians [1] distance in meters [2] peak altitude [3] azimuth correction in milliradians for the crosswind [4] distance correction in meters for the parallel wind [5] impact angle

Definition at line 116 of file SCR_ProjectileWindTable.c.

◆ GetDataByAngleDeg()

array< float > SCR_ProjectileWindTable::GetDataByAngleDeg ( float angle,
float windSpeed,
float initSpeedCoef = 1 )
inlineprotected

Fetches data coresponding to the given angle

Parameters
[in]angle
[in]windSpeed
[in]initSpeedCoef
Returns
an array with data coresponding to the given angle, or null [0] angle in radians [1] distance in meters [2] peak altitude [3] azimuth correction in milliradians for the crosswind [4] distance correction in meters for the parallel wind [5] impact angle

Definition at line 98 of file SCR_ProjectileWindTable.c.

◆ GetDataByDisance()

array< float > SCR_ProjectileWindTable::GetDataByDisance ( float distance,
bool directFire,
float windSpeed,
float initSpeedCoef = 1 )
inlineprotected

Fetches data coresponding to the given distance

Parameters
[in]distance
[in]directFire
[in]windSpeed
[in]initSpeedCoef
Returns
an array or null [0] angle in radians [1] distance in meters [2] peak altitude [3] azimuth correction in milliradians for the crosswind [4] distance correction in meters for the parallel wind [5] impact angle

Definition at line 145 of file SCR_ProjectileWindTable.c.

◆ GetProjectileWindageData() [1/3]

SCR_ProjectileWindTable SCR_ProjectileWindTable::GetProjectileWindageData ( notnull IEntity projectile)
inlinestaticprotected
Parameters
[in]projectile
Returns

Definition at line 10 of file SCR_ProjectileWindTable.c.

◆ GetProjectileWindageData() [2/3]

SCR_ProjectileWindTable SCR_ProjectileWindTable::GetProjectileWindageData ( notnull IEntitySource projectileEntitySrc)
inlinestaticprotected
Parameters
[in]projectileEntitySrc
Returns

Definition at line 55 of file SCR_ProjectileWindTable.c.

◆ GetProjectileWindageData() [3/3]

SCR_ProjectileWindTable SCR_ProjectileWindTable::GetProjectileWindageData ( ResourceName projectileResource)
inlinestaticprotected
Parameters
[in]projectileResource
Returns

Definition at line 35 of file SCR_ProjectileWindTable.c.

Member Data Documentation

◆ m_aData

ref array<ref SCR_ProjectileWindData> SCR_ProjectileWindTable::m_aData
protected

Definition at line 5 of file SCR_ProjectileWindTable.c.


The documentation for this class was generated from the following file: