Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Matrix4x4 Structure / PerspectiveOffCenter Method
The minimum x-value of the view volume at the near view plane.
The maximum x-value of the view volume at the near view plane.
The minimum y-value of the view volume at the near view plane.
The maximum y-value 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
    PerspectiveOffCenter Method
    In This Topic
    Creates a customized perspective projection matrix.
    Syntax
    'Declaration
     
    Public Shared Function PerspectiveOffCenter( _
       ByVal left As System.Single, _
       ByVal right As System.Single, _
       ByVal bottom As System.Single, _
       ByVal top As System.Single, _
       ByVal nearPlaneDistance As System.Single, _
       ByVal farPlaneDistance As System.Single _
    ) As Matrix4x4
    public static Matrix4x4 PerspectiveOffCenter( 
       System.float left,
       System.float right,
       System.float bottom,
       System.float top,
       System.float nearPlaneDistance,
       System.float farPlaneDistance
    )

    Parameters

    left
    The minimum x-value of the view volume at the near view plane.
    right
    The maximum x-value of the view volume at the near view plane.
    bottom
    The minimum y-value of the view volume at the near view plane.
    top
    The maximum y-value 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