Matrix4x4.CreateViewportLeftHanded Méthode

Définition

Crée une matrice de fenêtre d’affichage gauche à partir des paramètres spécifiés.

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

Paramètres

x
Single

Coordonnée X du coin supérieur gauche de la fenêtre d’affichage.

y
Single

Coordonnée Y du coin supérieur gauche de la fenêtre d’affichage.

width
Single

Largeur de la fenêtre d’affichage.

height
Single

Hauteur de la fenêtre d’affichage.

minDepth
Single

Profondeur minimale de la fenêtre d’affichage.

maxDepth
Single

Profondeur maximale de la fenêtre d’affichage.

Retours

Matrice de fenêtre d’affichage gauche.

Remarques

Matrice de fenêtre d’affichage

| width / 2 | 0 | 0 | 0 | | | 0 | -height / 2 | 0 | 0 | | | 0 | 0 | maxDepth - minDepth | 0 | | | x + largeur / 2 | y + hauteur / 2 | minDepth | 1 |

S’applique à