Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

GraphicsDevice.ScissorRectangle Property

Gets or sets the rectangle used for scissor testing. By default, the size matches the render target size.

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

public Rectangle ScissorRectangle { get; set; }

Property Value

If scissor testing is enabled, the rendering area within the render target is defined.
The scissor rectangle is used as a rectangular clipping region. Use ScissorTestEnable to enable scissor testing.
Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.