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

Definicja

Tworzy macierz projekcji perspektywy po lewej stronie z podanych 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 na płaszczyźnie bliskiego widoku.

height
Single

Wysokość 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