Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.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 System.Single, _
       ByVal height As System.Single, _
       ByVal nearPlaneDistance As System.Single, _
       ByVal farPlaneDistance As System.Single _
    ) As Matrix4x4
    public static Matrix4x4 Perspective( 
       System.float width,
       System.float height,
       System.float nearPlaneDistance,
       System.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