Sdílet prostřednictvím


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.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

[SerializableAttribute]
public struct Viewport

See Also

Reference

Viewport
Viewport Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP