TE_SetupBloodSprite Function

Sets up a blood sprite effect.

void TE_SetupBloodSprite(const float pos[3], const float dir[3], const int color[4], int Size, int SprayModel, int BloodDropModel)

Parameters

const float[3] pos

Position of the sprite.

const float[3] dir

Sprite direction.

const int[4] color

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

int Size

Sprite size.

int SprayModel

Precached model index.

int BloodDropModel

Precached model index.