| GraphicsHelperGetScissorRectangle Method (CameraNode, Viewport, IGeometricObject) |
Gets a scissor rectangle that encloses the specified geometric object.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Rectangle GetScissorRectangle(
CameraNode cameraNode,
Viewport viewport,
IGeometricObject geometricObject
)
Public Shared Function GetScissorRectangle (
cameraNode As CameraNode,
viewport As Viewport,
geometricObject As IGeometricObject
) As Rectangle
public:
static Rectangle GetScissorRectangle(
CameraNode^ cameraNode,
Viewport viewport,
IGeometricObject^ geometricObject
)
static member GetScissorRectangle :
cameraNode : CameraNode *
viewport : Viewport *
geometricObject : IGeometricObject -> Rectangle
Parameters
- cameraNode
- Type: DigitalRune.Graphics.SceneGraphCameraNode
The camera node. - viewport
- Type: Viewport
The viewport. - geometricObject
- Type: DigitalRune.GeometryIGeometricObject
The geometric object.
Return Value
Type:
RectangleThe scissor rectangle.
Exceptions See Also