Matrix4x4.CreatePerspectiveLeftHanded(Single, Single, Single, Single) Metoda

Definicja

Tworzy macierz projekcji perspektyw leworęcznych na podstawie wymiarów woluminu widoku.

public:
 static System::Numerics::Matrix4x4 CreatePerspectiveLeftHanded(float width, float height, float nearPlaneDistance, float farPlaneDistance);
public static System.Numerics.Matrix4x4 CreatePerspectiveLeftHanded (float width, float height, float nearPlaneDistance, float farPlaneDistance);
static member CreatePerspectiveLeftHanded : single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreatePerspectiveLeftHanded (width As Single, height As Single, nearPlaneDistance As Single, farPlaneDistance As Single) As Matrix4x4

Parametry

width
Single

Szerokość woluminu widoku w pobliżu płaszczyzny widoku.

height
Single

Wysokość woluminu widoku w pobliżu płaszczyzny 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