View Single Post
Old 09-26-2016, 03:55 AM   #10
fototapete
Registered User
 
Join Date: Aug 2016
Posts: 14
A viewport is a 2D rectangle that defines the size of the rendering surface onto which a 3D scene is projected.
A viewport is represented by the Viewport class. The Width and Height properties of the rectangle are used by methods for a variety of calculations such as creating a projection matrix using CreatePerspectiveFieldOfView. Viewport dimensions default to the dimensions of the back buffer, but they can be a different size. For example, to create a split screen game, you might render multiple viewports to a single render target. The viewport dimensions do not correspond to the display dimensions, which are determined by the DisplayMode property, or to the game window, which is determined by the ClientBounds property.
fototapete is offline   Reply With Quote