Matrix4x4.CreateOrthographic(Single, Single, Single, Single) Metoda

Definicja

Tworzy macierz perspektywy ortograficznej na podstawie wymiarów woluminu widoku.

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

Parametry

width
Single

Szerokość woluminu widoku.

height
Single

Wysokość woluminu widoku.

zNearPlane
Single

Minimalna wartość Z woluminu widoku.

zFarPlane
Single

Maksymalna wartość Z woluminu widoku.

Zwraca

Macierz projekcji ortograficznej.

Dotyczy