Skip to main content

GET_VIEWPORT_POS_AND_SIZE

Game.GetViewportPosAndSizeHash0x4DDC6FB4
Usage
local x, y, xsize, ysize = Game.GetViewportPosAndSize(viewportid)
Not described yet. Know what this native does? Add a description on GitHub.

Parameters

  • viewportidintegerint

Returns

  • xnumberfloat*
  • ynumberfloat*
  • xsizenumberfloat*
  • ysizenumberfloat*
Original declaration
// 0x4DDC6FB4
void GET_VIEWPORT_POS_AND_SIZE(int viewportid, float* x, float* y, float* xsize, float* ysize);