Device.ScissorRectangle Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the scissor rectangle.


Visual Basic Public Property ScissorRectangle As RectangleLeave Site
C# public RectangleLeave Site ScissorRectangle { get; set; }
C++ public:
property RectangleLeave Site ScissorRectangle {
        RectangleLeave Site get();
        void set(RectangleLeave Site value);
JScript public 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.



Occurs if any properties of the RectangleLeave Site object are invalid.