RenderState.ScissorTestEnable Property

Enables or disables scissor testing. The default is false.

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

Syntax

public bool ScissorTestEnable { get; set; }

Property Value

true to enable scissor testing; false otherwise.

Remarks

With scissor testing enabled, the graphics device will only draw onto parts of the screen that fall within the specified ScissorRectangle.

See Also

Reference

RenderState Class
RenderState Members
ScissorRectangle
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista