Share via


Matrix.OrthoRH Method

Builds a right-handed orthogonal projection matrix.

Namespace:  Microsoft.WindowsMobile.DirectX
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Shared Function OrthoRH ( _
    width As Single, _
    height As Single, _
    znearPlane As Single, _
    zfarPlane As Single _
) As Matrix
'Usage
Dim width As Single 
Dim height As Single 
Dim znearPlane As Single 
Dim zfarPlane As Single 
Dim returnValue As Matrix 

returnValue = Matrix.OrthoRH(width, _
    height, znearPlane, zfarPlane)
public static Matrix OrthoRH(
    float width,
    float height,
    float znearPlane,
    float zfarPlane
)
public:
static Matrix OrthoRH(
    float width, 
    float height, 
    float znearPlane, 
    float zfarPlane
)
public static function OrthoRH(
    width : float, 
    height : float, 
    znearPlane : float, 
    zfarPlane : float
) : Matrix

Parameters

  • znearPlane
    Type: System.Single

    Minimum z-value of the view volume.

  • zfarPlane
    Type: System.Single

    Maximum z-value of the view volume.

Return Value

Type: Microsoft.WindowsMobile.DirectX.Matrix
A Matrix structure that is a right-handed orthogonal projection matrix.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Matrix Structure

Matrix Members

Microsoft.WindowsMobile.DirectX Namespace