Click or drag to resize
DigitalRuneBoxShape Constructor (Single, Single, Single)
Initializes a new instance of the BoxShape class with the given size.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public BoxShape(
	float widthX,
	float widthY,
	float widthZ
)

Parameters

widthX
Type: SystemSingle
The width along the x-axis.
widthY
Type: SystemSingle
The width along the y-axis.
widthZ
Type: SystemSingle
The width along the z-axis.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionwidthX, widthY, or widthZ is negative.
See Also