Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the pixel coordinate of the upper-left corner of the viewport on the render-target surface.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int Y { get; set; }
Property Value
The upper-left corner of the viewport to set or get.
Remarks
Unless rendering is being done only to a subset of the surface, this member can be set to 0.
See Also
Reference
Viewport Structure
Viewport Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista