ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / Perspective Method
The width of the view volume at the near view plane.
The height of the view volume at the near view plane.
The distance to the near view plane.
The distance to the far view plane.

In This Topic
    Perspective Method
    In This Topic
    Creates a perspective projection matrix from the given view volume dimensions.
    Syntax
    'Declaration
     
    Public Shared Function Perspective( _
       ByVal width As Single, _
       ByVal height As Single, _
       ByVal nearPlaneDistance As Single, _
       ByVal farPlaneDistance As Single _
    ) As Matrix4x4
    public static Matrix4x4 Perspective( 
       float width,
       float height,
       float nearPlaneDistance,
       float farPlaneDistance
    )

    Parameters

    width
    The width of the view volume at the near view plane.
    height
    The height of the view volume at the near view plane.
    nearPlaneDistance
    The distance to the near view plane.
    farPlaneDistance
    The distance to the far view plane.

    Return Value

    The perspective projection matrix.
    See Also