Returns the current width of the game display. Used in the default UI to allow the current screen resolution (or an integral factor thereof) to be selected as the video recording resolution.


See also Mac client functions.

Signature:

width = MovieRecording_GetViewportWidth()

Returns:

  • width - Width of the game display (number)
This function is designed for the Mac OS X client only