TE_SetupBeamRing Function

Sets up a beam ring effect.

void TE_SetupBeamRing(int StartEntity, int EndEntity, int ModelIndex, int HaloIndex, int StartFrame, int FrameRate, float Life, float Width, float Amplitude, const int Color[4], int Speed, int Flags)


int StartEntity

Entity index from where the ring starts.

int EndEntity

Entity index from where the ring ends.

int ModelIndex

Precached model index.

int HaloIndex

Precached model index.

int StartFrame

Initial frame to render.

int FrameRate

Ring frame rate.

float Life

Time duration of the ring.

float Width

Beam width.

float Amplitude

Beam amplitude.

const int[4] Color

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

int Speed

Speed of the beam.

int Flags

Beam flags.