| ViewVolumeSetWidthAndHeight Method (Single, Single, Single, Single) |
Sets the width and height of the view volume to the specified size and depth.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void SetWidthAndHeight(
float width,
float height,
float near,
float far
)
Public Sub SetWidthAndHeight (
width As Single,
height As Single,
near As Single,
far As Single
)
public:
void SetWidthAndHeight(
float width,
float height,
float near,
float far
)
member SetWidthAndHeight :
width : float32 *
height : float32 *
near : float32 *
far : float32 -> unit
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 See Also