Matrix4x4.CreateOrthographic(Single, Single, Single, Single) Methode

Definition

Erstellt eine orthografische Perspektivesmatrix aus den angegebenen Ansichtsvolumenabmessungen.

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

Parameter

width
Single

Die Breite des Ansichtsvolumens.

height
Single

Die Höhe des Ansichtsvolumens.

zNearPlane
Single

Der minimale Z-Wert des Ansichtsvolumens.

zFarPlane
Single

Der maximale Z-Wert des Ansichtsvolumens.

Gibt zurück

Die orthografische Projektionsmatrix.

Gilt für: