DrawSpritePoly2 — FiveM Natives
0x736D7AA1B750856B · GRAPHICS · all
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.
Parameters
| Name | Type |
|---|---|
| x1 | float |
| y1 | float |
| z1 | float |
| x2 | float |
| y2 | float |
| z2 | float |
| x3 | float |
| y3 | float |
| z3 | float |
| red1 | float |
| green1 | float |
| blue1 | float |
| alpha1 | int |
| red2 | float |
| green2 | float |
| blue2 | float |
| alpha2 | int |
| red3 | float |
| green3 | float |
| blue3 | float |
| alpha3 | int |
| textureDict | char* |
| textureName | char* |
| u1 | float |
| v1 | float |
| w1 |