Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Device.ScissorRectangle Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the scissor rectangle.


Visual BasicPublic Property ScissorRectangle As RectangleLeave Site
C#public RectangleLeave Site ScissorRectangle { get; set; }
property RectangleLeave Site ScissorRectangle {
        RectangleLeave Site get();
        void set(RectangleLeave Site value);
JScriptpublic function get ScissorRectangle() : RectangleLeave Site
public function set ScissorRectangle(RectangleLeave Site);

Property Value

A RectangleLeave Site object that defines the rendering area within the render target, if scissor testing is enabled.

This property is read/write. 


The scissor rectangle is used as a rectangular clipping region. For more information about the use of rectangles in Microsoft DirectX, see RectangleLeave Site.

InvalidCallException Occurs if any properties of the RectangleLeave Site object are invalid.
© 2015 Microsoft