Click or drag to resize
DigitalRuneOrthographicViewVolume Constructor (Single, Single, Single, Single)
Initializes a new instance of the OrthographicViewVolume class as a symmetric 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 width,
	float height,
	float near,
	float far
)

Parameters

width
Type: SystemSingle
The width of the view volume at the near clip plane.
height
Type: SystemSingle
The height 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
ArgumentOutOfRangeExceptionwidth is negative.
ArgumentOutOfRangeExceptionheight is negative.
ArgumentOutOfRangeExceptionnear is negative or 0.
ArgumentOutOfRangeExceptionnear is greater than or equal to far.
See Also