Native referenceFiveM

_DRAW_SPRITE_UV

0x95812F9B26074726 GRAPHICS
FUNCTION SIGNATURE
void _DRAW_SPRITE_UV(char* textureDict, char* textureName, float x, float y, float width, float height, float u1, float v1, float u2, float v2, float heading, int red, int green, int blue, int alpha);
Property Value
Native Name _DRAW_SPRITE_UV
Hash 0x95812F9B26074726
Return Type void
Parameters textureDict (char*), textureName (char*), x (float), y (float), width (float), height (float), u1 (float), v1 (float), u2 (float), v2 (float), heading (float), red (int), green (int), blue (int), alpha (int)

Description: Similar to DRAW_SPRITE, but allows to specify the texture coordinates used to draw the sprite. u1, v1 - texture coordinates for the top-left corner u2, v2 - texture coordinates for the bottom-right corner

NativeDB Introduced: v1868
Back to GRAPHICS