getViewportWidth

open fun getViewportWidth(): Int

Determines the width of the viewport (OSRS scene render).

Return

The width, in number of pixels.