Bagikan melalui


Matrix4x4.CreatePerspectiveOffCenterLeftHanded Metode

Definisi

Membuat matriks proyeksi perspektif yang disesuaikan dengan tangan kiri.

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

Parameter

left
Single

Nilai x minimum volume tampilan di bidang tampilan dekat.

right
Single

Nilai x maksimum volume tampilan di bidang tampilan dekat.

bottom
Single

Nilai y minimum volume tampilan di bidang tampilan dekat.

top
Single

Nilai y maksimum volume tampilan di bidang tampilan dekat.

nearPlaneDistance
Single

Jarak ke bidang tampilan dekat.

farPlaneDistance
Single

Jarak ke bidang tampilan jauh.

Mengembalikan

Matriks proyeksi perspektif sebelah kiri.

Pengecualian

nearPlaneDistance kurang dari atau sama dengan nol.

-atau-

farPlaneDistance kurang dari atau sama dengan nol.

-atau-

nearPlaneDistance lebih besar dari atau sama dengan farPlaneDistance.

Berlaku untuk