Freigeben über


Matrix4x4.CreateViewportLeftHanded Methode

Definition

Erstellt eine linkshändige Viewportmatrix aus den angegebenen Parametern.

public:
 static System::Numerics::Matrix4x4 CreateViewportLeftHanded(float x, float y, float width, float height, float minDepth, float maxDepth);
public static System.Numerics.Matrix4x4 CreateViewportLeftHanded (float x, float y, float width, float height, float minDepth, float maxDepth);
static member CreateViewportLeftHanded : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateViewportLeftHanded (x As Single, y As Single, width As Single, height As Single, minDepth As Single, maxDepth As Single) As Matrix4x4

Parameter

x
Single

X-Koordinate des Viewports oben links.

y
Single

Y-Koordinate des Viewports oben links.

width
Single

Viewportbreite.

height
Single

Viewporthöhe.

minDepth
Single

Minimale Viewporttiefe.

maxDepth
Single

Maximale Tiefe des Viewports.

Gibt zurück

Die linkshändige Viewportmatrix.

Hinweise

Viewportmatrix

| width / 2 | 0 | 0 | 0 | | 0 | -height / 2 | 0 | 0 | | 0 | 0 | maxDepth – minDepth | 0 | | x + breite / 2 | y + höhe / 2 | minDepth | 1 |

Gilt für: