Matrix4x4.CreatePerspectiveOffCenterLeftHanded Metoda

Definicja

Tworzy macierz projekcji perspektyw z dostosowaną leworęczną.

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

Parametry

left
Single

Minimalna wartość x woluminu widoku w pobliżu płaszczyzny widoku.

right
Single

Maksymalna wartość x woluminu widoku na płaszczyźnie widoku bliskiego widoku.

bottom
Single

Minimalna wartość y woluminu widoku w pobliżu płaszczyzny widoku.

top
Single

Maksymalna wartość y woluminu widoku na bliskiej płaszczyźnie widoku.

nearPlaneDistance
Single

Odległość do bliskiej płaszczyzny widzenia.

farPlaneDistance
Single

Odległość do dalekiej płaszczyzny widokowej.

Zwraca

Macierz projekcji perspektyw leworęcznych.

Wyjątki

nearPlaneDistance jest mniejsze niż lub równe zero.

-lub-

farPlaneDistance jest mniejsze niż lub równe zero.

-lub-

nearPlaneDistance jest większe niż lub równe farPlaneDistance.

Dotyczy