GRAPHICS

DRAW_TEXTURED_POLY_WITH_THREE_COLOURS

0x736D7AA1B750856B

Signature

// GRAPHICS
void DRAW_TEXTURED_POLY_WITH_THREE_COLOURS(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float red1, float green1, float blue1, int alpha1, float red2, float green2, float blue2, int alpha2, float red3, float green3, float blue3, int alpha3, const char* textureDict, const char* textureName, float u1, float v1, float w1, float u2, float v2, float w2, float u3, float v3, float w3)

Parameters

Type Name
float x1
float y1
float z1
float x2
float y2
float z2
float x3
float y3
float z3
float red1
float green1
float blue1
int alpha1
float red2
float green2
float blue2
int alpha2
float red3
float green3
float blue3
int alpha3
const char* textureDict
const char* textureName
float u1
float v1
float w1
float u2
float v2
float w2
float u3
float v3
float w3

Return type void

Build 877

Former names

  • _DRAW_SPRITE_POLY_2

Documentation

Used for drawling Deadline trailing lights, see deadline.ytd Each vertex has its own colour that is blended/illuminated on the texture. Additionally, the R, G, and B components are floats that are int-casted internally. For UVW mapping (u,v,w parameters), reference your favourite internet resource for more details.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.