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

Definice

Vytvoří matici ortografické perspektivy z dané dimenze 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 objemu zobrazení.

height
Single

Výška hlasitosti zobrazení

zNearPlane
Single

Minimální hodnota Z objemu zobrazení.

zFarPlane
Single

Maximální hodnota Z objemu zobrazení.

Návraty

Matice ortografické projekce.

Platí pro