Bagikan melalui


Viewport Structure

Defines the window dimensions of a render-target surface onto which a 3D volume projects.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

[SerializableAttribute]
public struct Viewport

See Also

Concepts

Displays, Client Bounds, Viewports, and Back Buffers

Reference

Viewport
Viewport Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista