Matrix4x4.CreatePerspectiveLeftHanded(Single, Single, Single, Single) Methode

Definition

Erstellt eine linkshändige perspektivische Projektionsmatrix aus den angegebenen Ansichtsvolumenabmessungen.

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

Parameter

width
Single

Die Breite des Ansichtsvolumens in der Nahansichtsebene.

height
Single

Die Höhe des Ansichtsvolumens in der Nahansichtsebene.

nearPlaneDistance
Single

Der Abstand zur Nahansichtsebene.

farPlaneDistance
Single

Der Abstand zur Weitansichtsebene.

Gibt zurück

Die linkshändige perspektivische Projektionsmatrix.

Ausnahmen

nearPlaneDistance ist kleiner oder gleich Null.

-oder-

farPlaneDistance ist kleiner oder gleich Null.

-oder-

nearPlaneDistance ist größer oder gleich farPlaneDistance.

Gilt für: