height

var height: Int

Height of the viewport expressed in pixels. Notice that OpenGL uses normalized coordinates between -1.0f and 1.0f, but this field contains the actual viewport height expressed in pixels.

Throws

if provided value is negative.