clearDrawOrigin
CLEAR_DRAW_ORIGIN0xFF0B610F6BE0D7AFThe GTA V native CLEAR_DRAW_ORIGIN of the GRAPHICS namespace, as LS:MP client scripts call it: the global function clearDrawOrigin, in JavaScript and in Lua.
clearDrawOrigin(): voidclearDrawOrigin()Usage
JavaScript
clearDrawOrigin();Lua
clearDrawOrigin()Parameters
None.
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Resets the screen's draw-origin which was changed by the function setDrawOrigin(...) back to x=0,y=0.
See setDrawOrigin(...) for further information.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void CLEAR_DRAW_ORIGIN()- Hash
0xFF0B610F6BE0D7AF