Export (0) Print
Expand All
Expand Minimize

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)

public bool ScissorTestEnable { get; set; }

Property Value

true to enable scissor testing; false otherwise.

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

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft