Click or drag to resize
DigitalRuneGraphicsHelperGetScissorRectangle Method (CameraNode, Viewport, IGeometricObject)
Gets a scissor rectangle that encloses the specified geometric object.

Namespace: DigitalRune.Graphics
Assembly: 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
)

Parameters

cameraNode
Type: DigitalRune.Graphics.SceneGraphCameraNode
The camera node.
viewport
Type: Viewport
The viewport.
geometricObject
Type: DigitalRune.GeometryIGeometricObject
The geometric object.

Return Value

Type: Rectangle
The scissor rectangle.
Exceptions
ExceptionCondition
ArgumentNullExceptioncameraNode or geometricObject is .
See Also