Click or drag to resize
DigitalRuneOrthographicProjectionSet Method (Single, Single)
Sets a right-handed, orthographic projection with the specified size.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Set(
	float width,
	float height
)

Parameters

width
Type: SystemSingle
The width of the view volume.
height
Type: SystemSingle
The height of the view volume.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionwidth or height is negative or 0.
See Also