GraphicsDevice.ScissorRectangle Property

Gets or sets the rectangle used for scissor testing.

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

public Rectangle ScissorRectangle { get; set; }

Property Value

Defines the rendering area within the render target, if scissor testing is enabled.

The scissor rectangle is used as a rectangular clipping region. Use ScissorTestEnable to enable scissor testing.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions