| OrthographicProjectionSet Method (Single, Single, Single, Single) |
Sets a right-handed, orthographic projection with the specified size and depth.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Set(
float width,
float height,
float near,
float far
)
Public Sub Set (
width As Single,
height As Single,
near As Single,
far As Single
)
public:
void Set(
float width,
float height,
float near,
float far
)
member Set :
width : float32 *
height : float32 *
near : float32 *
far : float32 -> unit
Parameters
- width
- Type: SystemSingle
The width of the view volume. - height
- Type: SystemSingle
The height of the view volume. - near
- Type: SystemSingle
The distance to the near clip plane. - far
- Type: SystemSingle
The distance to the far clip plane.
Exceptions See Also