Matrix4x4.CreateViewportLeftHanded Metoda

Definicja

Tworzy macierz widoków po lewej stronie na podstawie określonych parametrów.

public:
 static System::Numerics::Matrix4x4 CreateViewportLeftHanded(float x, float y, float width, float height, float minDepth, float maxDepth);
public static System.Numerics.Matrix4x4 CreateViewportLeftHanded (float x, float y, float width, float height, float minDepth, float maxDepth);
static member CreateViewportLeftHanded : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateViewportLeftHanded (x As Single, y As Single, width As Single, height As Single, minDepth As Single, maxDepth As Single) As Matrix4x4

Parametry

x
Single

Współrzędna X w lewym górnym rogu widoku.

y
Single

Współrzędna Y w lewym górnym rogu widoku.

width
Single

Szerokość widoku.

height
Single

Wysokość widoku.

minDepth
Single

Minimalna głębokość widoku.

maxDepth
Single

Wyświetl maksymalną głębokość.

Zwraca

Macierz widoków z lewej strony.

Uwagi

Macierz widoków

| szerokość/2 | 0 | 0 | 0 | | 0 | -height / 2 | 0 | 0 | | 0 | 0 | maxDepth — minDepth | 0 | | x + szerokość / 2 | y + wysokość / 2 | minDepth | 1 |

Dotyczy