Matrix.PerspectiveOffCenterLH Method
Builds a customized, left-handed perspective projection matrix.
Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Shared Function PerspectiveOffCenterLH ( _
left As Single, _
right As Single, _
bottom As Single, _
top As Single, _
znearPlane As Single, _
zfarPlane As Single _
) As Matrix
'Usage
Dim left As Single
Dim right As Single
Dim bottom As Single
Dim top As Single
Dim znearPlane As Single
Dim zfarPlane As Single
Dim returnValue As Matrix
returnValue = Matrix.PerspectiveOffCenterLH(left, _
right, bottom, top, znearPlane, zfarPlane)
public static Matrix PerspectiveOffCenterLH(
float left,
float right,
float bottom,
float top,
float znearPlane,
float zfarPlane
)
public:
static Matrix PerspectiveOffCenterLH(
float left,
float right,
float bottom,
float top,
float znearPlane,
float zfarPlane
)
public static function PerspectiveOffCenterLH(
left : float,
right : float,
bottom : float,
top : float,
znearPlane : float,
zfarPlane : float
) : Matrix
Parameters
left
Type: System.SingleMinimum x-value of the view volume.
right
Type: System.SingleMaximum x-value of the view volume.
bottom
Type: System.SingleMinimum y-value of the view volume.
top
Type: System.SingleMaximum y-value of the view volume.
znearPlane
Type: System.SingleMinimum z-value of the view volume.
zfarPlane
Type: System.SingleMaximum z-value of the view volume.
Return Value
Type: Microsoft.WindowsMobile.DirectX.Matrix
A Matrix structure that is a customized, left-handed perspective projection matrix.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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