Matrix4x4.CreatePerspectiveOffCenterLeftHanded Metoda

Definicja

Tworzy macierz projekcji z niestandardową perspektywą z lewej strony.

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 na płaszczyźnie bliskiej widoku.

right
Single

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

bottom
Single

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

top
Single

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

nearPlaneDistance
Single

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

farPlaneDistance
Single

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

Zwraca

Macierz projekcji perspektywy po lewej stronie.

Wyjątki

nearPlaneDistance wartość jest mniejsza niż lub równa zero.

-lub-

farPlaneDistance wartość jest mniejsza niż lub równa zero.

-lub-

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

Dotyczy