Matrix4x4.CreateOrthographic(Single, Single, Single, Single) Méthode

Définition

Crée une matrice de perspective orthographique à partir des dimensions de volume d’affichage données.

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

Paramètres

width
Single

Largeur du volume d’affichage.

height
Single

Hauteur du volume d’affichage.

zNearPlane
Single

Valeur Z minimale du volume d’affichage.

zFarPlane
Single

Valeur Z maximale du volume d’affichage.

Retours

Matrice de projection orthographique.

S’applique à