GL.Viewport Manual     Reference     Scripting  
Scripting > Runtime Classes > GL
GL.Viewport

static function Viewport (pixelRect : Rect) : void

Description

Set the rendering viewport.

All rendering is constrained to be inside the passed pixelRect.