Click or drag to resize
DigitalRuneGraphicsHelperGetScissorRectangle Method (CameraNode, Viewport, Vector3F, Single)
Gets a scissor rectangle that encloses the specified sphere.

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,
	Vector3F positionWorld,
	float radius
)

Parameters

cameraNode
Type: DigitalRune.Graphics.SceneGraphCameraNode
The camera node.
viewport
Type: Viewport
The viewport.
positionWorld
Type: DigitalRune.Mathematics.AlgebraVector3F
The sphere center in world space.
radius
Type: SystemSingle
The sphere radius.

Return Value

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