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

Définition

Crée une matrice de projection orthographique personnalisée.Creates a customized orthographic projection matrix.

public:
 static System::Numerics::Matrix4x4 CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane);
public static System.Numerics.Matrix4x4 CreateOrthographicOffCenter (float left, float right, float bottom, float top, float zNearPlane, float zFarPlane);
static member CreateOrthographicOffCenter : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateOrthographicOffCenter (left As Single, right As Single, bottom As Single, top As Single, zNearPlane As Single, zFarPlane As Single) As Matrix4x4

Paramètres

left
Single

Valeur X minimale du volume de la vue.The minimum X-value of the view volume.

right
Single

Valeur X maximale du volume de la vue.The maximum X-value of the view volume.

bottom
Single

Valeur Y minimale du volume de la vue.The minimum Y-value of the view volume.

top
Single

Valeur Y maximale du volume de la vue.The maximum Y-value of the view volume.

zNearPlane
Single

Valeur Z minimale du volume de la vue.The minimum Z-value of the view volume.

zFarPlane
Single

Valeur Z maximale du volume de la vue.The maximum Z-value of the view volume.

Retours

Matrice de projection orthographique.The orthographic projection matrix.

S’applique à