RasterStatus.ScanLine Property
Gets a value that roughly corresponds to the current scan line painted by the raster.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int ScanLine { get; }
Property Value
Integer that roughly corresponds to the current scan line to set or retrieve.
Remarks
If InVerticalBlank is false, this property's value is an integer that roughly corresponds to the current scan line painted by the raster. Scan lines are numbered in the same way as Microsoft Direct3D surface coordinates: 0 is the top of the primary surface, extending to the value (height of the surface − 1) at the bottom of the display.
If InVerticalBlank is true, this value is set to 0 and can be ignored.
See Also
Reference
RasterStatus Structure
RasterStatus Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista