ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / Orthographic Method
The width of the view volume.
The height of the view volume.
The minimum Z-value of the view volume.
The maximum Z-value of the view volume.

In This Topic
    Orthographic Method
    In This Topic
    Creates an orthographic perspective matrix from the given view volume dimensions.
    Syntax
    'Declaration
     
    Public Shared Function Orthographic( _
       ByVal width As Single, _
       ByVal height As Single, _
       ByVal zNearPlane As Single, _
       ByVal zFarPlane As Single _
    ) As Matrix4x4
    public static Matrix4x4 Orthographic( 
       float width,
       float height,
       float zNearPlane,
       float zFarPlane
    )

    Parameters

    width
    The width of the view volume.
    height
    The height of the view volume.
    zNearPlane
    The minimum Z-value of the view volume.
    zFarPlane
    The maximum Z-value of the view volume.

    Return Value

    The orthographic projection matrix.
    See Also