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

Definice

Vytvoří orthografickou matici perspektivy z daných dimenzí objemu zobrazení.

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

Šířka svazku zobrazení.

height
Single

Výška hlasitosti zobrazení.

zNearPlane
Single

Minimální hodnota Z svazku zobrazení.

zFarPlane
Single

Maximální hodnota Z svazku zobrazení.

Návraty

Matrix4x4

Ortografická projekce matice.

Platí pro