Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_Ray Interface Reference

Static Public Member Functions

static SCR_Ray Lerp (notnull SCR_Ray valueA, notnull SCR_Ray valueB, float t=0.5)
 Get the intermediate ray between two by linear interpolation.
 

Public Attributes

vector m_vPosition
 
vector m_vDirection
 normalised vectorDir
 

Member Function Documentation

◆ Lerp()

static SCR_Ray SCR_Ray.Lerp ( notnull SCR_Ray valueA,
notnull SCR_Ray valueB,
float t = 0::5 )
static

Get the intermediate ray between two by linear interpolation.

Parameters
[in]valueAsource
[in]valueBdestination
[in]tthe wanted interval - 0 is valueA, 1 is valueB, 0.5 is right between
Returns
the lerped ray

Member Data Documentation

◆ m_vDirection

vector SCR_Ray.m_vDirection

normalised vectorDir

◆ m_vPosition

vector SCR_Ray.m_vPosition

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