Click or drag to resize
DigitalRuneViewVolumeSetWidthAndHeight Method (Single, Single)
Sets the width and height of the view volume to the specified size.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void SetWidthAndHeight(
	float width,
	float height
)

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.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionwidth or height is negative or 0.
See Also