The Viewport type exposes the following members.

Fields

  NameDescription
_controlSize
Represents the OpenGL control size measured in pixels It changes if there is a window resize event
_displaySizeInPx
Represents the display size measured in pixels. This field states the ratio milimeters/pixel between OpenGL world and window world Usually it doesn't change.
_maxv
Maximum size of the viewport (OpenGl restrictions)
_pan
it is the pan
_paralax
it is the paralax: it´s positive with z positive
_zoom
it is the zoom

See Also