Export (0) Print
Expand All

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

Community Additions

ADD
Show:
© 2014 Microsoft