Matrix4x4.CreatePerspectiveOffCenterLeftHanded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a left-handed customized perspective projection matrix.
public:
static System::Numerics::Matrix4x4 CreatePerspectiveOffCenterLeftHanded(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance);
public static System.Numerics.Matrix4x4 CreatePerspectiveOffCenterLeftHanded (float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance);
static member CreatePerspectiveOffCenterLeftHanded : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreatePerspectiveOffCenterLeftHanded (left As Single, right As Single, bottom As Single, top As Single, nearPlaneDistance As Single, farPlaneDistance As Single) As Matrix4x4
Parameters
- left
- Single
The minimum x-value of the view volume at the near view plane.
- right
- Single
The maximum x-value of the view volume at the near view plane.
- bottom
- Single
The minimum y-value of the view volume at the near view plane.
- top
- Single
The maximum y-value of the view volume at the near view plane.
- nearPlaneDistance
- Single
The distance to the near view plane.
- farPlaneDistance
- Single
The distance to the far view plane.
Returns
The left-handed perspective projection matrix.
Exceptions
nearPlaneDistance
is less than or equal to zero.
-or-
farPlaneDistance
is less than or equal to zero.
-or-
nearPlaneDistance
is greater than or equal to farPlaneDistance
.