Click or drag to resize
DigitalRuneOrthographicProjection.SetOffCenter Method (Single, Single, Single, Single, Single, Single)
Sets a customized (off-center), right-handed, orthographic projection (including depth).

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void SetOffCenter(
	float left,
	float right,
	float bottom,
	float top,
	float near,
	float far
)

Parameters

left
Type: System.Single
The minimum x-value of the view volume.
right
Type: System.Single
The maximum x-value of the view volume.
bottom
Type: System.Single
The minimum y-value of the view volume.
top
Type: System.Single
The maximum y-value of the view volume.
near
Type: System.Single
The distance to the near clip plane.
far
Type: System.Single
The distance to the far clip plane.
Exceptions
ExceptionCondition
ArgumentExceptionleft is greater than or equal to right, bottom is greater than or equal to top, or near is greater than or equal to far.
Remarks
This method can be used to define an off-center view volume.
See Also