TE_SetupBeamPoints Function

Sets up a point to point beam effect.

void TE_SetupBeamPoints(const float start[3], const float end[3], int ModelIndex, int HaloIndex, int StartFrame, int FrameRate, float Life, float Width, float EndWidth, int FadeLength, float Amplitude, const int Color[4], int Speed)


const float[3] start

Start position of the beam.

const float[3] end

End position of the beam.

int ModelIndex

Precached model index.

int HaloIndex

Precached model index.

int StartFrame

Initial frame to render.

int FrameRate

Beam frame rate.

float Life

Time duration of the beam.

float Width

Initial beam width.

float EndWidth

Final beam width.

int FadeLength

Beam fade time duration.

float Amplitude

Beam amplitude.

const int[4] Color

Color array (r, g, b, a).

int Speed

Speed of the beam.