Click or drag to resize
DigitalRuneOrthographicViewVolume Constructor (Single, Single, Single, Single, Single, Single)
Initializes a new instance of the OrthographicViewVolume class as an asymmetric, off-center view volume.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public OrthographicViewVolume(
	float left,
	float right,
	float bottom,
	float top,
	float near,
	float far
)

Parameters

left
Type: SystemSingle
The minimum x-value of the view volume at the near clip plane.
right
Type: SystemSingle
The maximum x-value of the view volume at the near clip plane.
bottom
Type: SystemSingle
The minimum y-value of the view volume at the near clip plane.
top
Type: SystemSingle
The maximum y-value of the view volume at the near clip plane.
near
Type: SystemSingle
The distance to the near clip plane.
far
Type: SystemSingle
The distance to the far clip plane.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionleft is greater than or equal to right.
ArgumentOutOfRangeExceptionbottom is greater than or equal to top.
ArgumentOutOfRangeExceptionnear is negative or 0.
ArgumentOutOfRangeExceptionnear is greater than or equal to far.
See Also